摘要: #include<iostream> #include<algorithm> #include<cstring> using namespace std ; const int N=1010; int f[N],g[N],q[N]; int n,m; int a[N]; int main() { c 阅读全文
posted @ 2019-12-07 23:06 晴屿 阅读(131) 评论(0) 推荐(0)
摘要: #include <cstring> #include <iostream> #include <algorithm> using namespace std; const int N = 25010; int n; int a[N]; bool f[N]; int main() { int T; 阅读全文
posted @ 2019-12-07 22:49 晴屿 阅读(193) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; const int MAX=2e5+10; int cnt[MAX]; int ans[MAX]; int a[MAX]; int main() { int n,m,zero=0,one=0; cin>>n>>m; fo 阅读全文
posted @ 2019-12-07 13:37 晴屿 阅读(337) 评论(0) 推荐(0)
摘要: #include <cstring> #include <iostream> #include <algorithm> #include <vector> #define v first #define w second using namespace std; typedef pair<int, 阅读全文
posted @ 2019-12-07 02:59 晴屿 阅读(178) 评论(0) 推荐(0)