摘要:
https://www.acwing.com/problem/content/839/ #include<iostream> using namespace std; const int N=100010; int n,m; int p[N],cnt[N]; int find(int x){ if( 阅读全文
摘要:
https://www.acwing.com/problem/content/242/ #include<iostream> using namespace std; const int N=100010; int n,m; int p[N],d[N]; int find(int x){ if(p[ 阅读全文