正文
增加 2 行删除 2 行
25 行未改动26272829303132333429 行未改动6465666768697071726 行未改动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;}};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";}int main(){ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);6 行未改动25 行未改动26272829303132333429 行未改动6465666768697071726 行未改动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;}};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";}int main(){ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);6 行未改动