版本比较
题解:P14810 [CCPC 2024 哈尔滨站] 新能源汽车
正文
增加 2 行删除 2 行
25 行未改动2627282930303132333429 行未改动646566676868697071726 行未改动25 行未改动ll n,m,a[N],x[N],t[N];struct node{ ll id,pls; friend bool operator <(const node xx,const node y){ return xx.pls<y.pls; return xx.pls<y.pls; }};set<node> st;ll lst[N],pk[N],now[N];29 行未改动 now[t[i]]=a[t[i]]; st.insert((node){t[i],lst[i]}); } } cout<<pos<<"\n"; cout<<pos<<"\n";}int main(){ ios::sync_with_stdio(false); cin.tie(0),cout.tie(0);6 行未改动