摘要:
题目描述 Popskyy & tiasu - Dual [Popskyy & tiasu - Dual](https://soundcloud.com/popskyy/popskyy-tiasu-dual) The only difference between the two versio 阅读全文
摘要:
调了整整5个小时,结果发现自己建树的方式有误,气死我了气死我了,比较好的一道线段树(虽然我不会 #include<bits/stdc++.h> using namespace std; const int N=1e6+10; int n,m,res,point; vector<int>v[2]; / 阅读全文
摘要:
原代码 O(n2): 772ms #include<bits/stdc++.h> #define int long long using namespace std; const int N=1e6+10,M=1e4+10; int n,m,res,f[N],p[N],a[N],s,k,level[ 阅读全文
摘要:
//A #include <bits/stdc++.h> #define int long long using namespace std; const int N=1e6+10,mod=1e9+7; string s; int n,t,a[N],f[N],res,num,ans,m,k,p; b 阅读全文