摘要:
A. Vadim's Collection #include <bits/stdc++.h> #define int long long using namespace std; int cnt[10]; signed main() { ios::sync_with_stdio(false); ci 阅读全文
摘要:
木柜子组乐队 #include <bits/stdc++.h> #define int long long using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); int T; cin>>T; whi 阅读全文
摘要:
小凯逛超市 #include <bits/stdc++.h> #define int long long using namespace std; const int mod=1000000007; int f[405][405]; signed main() { ios::sync_with_st 阅读全文
摘要:
优秀是一种习惯 持家 #include <bits/stdc++.h> using namespace std; #define int long long vector<int>a[2]; int s[10005]; signed main() { ios::sync_with_stdio(fal 阅读全文
摘要:
A. To Zero #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int T; cin>>T; while(T--) { int n,k; ci 阅读全文
摘要:
签到 从公告里听说可以使用 C++ 中的 std::cerr 进行输出调试,以后尝试一下 #include <bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int T 阅读全文
摘要:
A. AUS #include <bits/stdc++.h> using namespace std; int fa[30]; int get(int x) { if(fa[x]==x) { return x; } return fa[x]=get(fa[x]); } int main() { i 阅读全文