jzoj100031】的更多相关文章

這題是結論題 好玄學,不懂 代碼: #include<bits/stdc++.h> using namespace std; struct no{ int v,p; bool operator <(const no &rhs)const{ return v<rhs.v||v==rhs.v&&p<rhs.p; } }c[100010]; int n,a[100010]; int main(){ scanf("%d",&n);…