摘要: 点击查看代码 #include<iostream> #include<cstring> #include<unordered_set> using namespace std; const int N = 110, M = 1e4 + 10; int k, n; int s[N], f[M]; // 阅读全文
posted @ 2022-05-15 22:15 wKingYu 阅读(58) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<iostream> using namespace std; int main() { int n; cin >> n; int res = 0; for (int i = 1; i <= n; i ++) { int x; scanf("%d", &x); if ( 阅读全文
posted @ 2022-05-15 20:30 wKingYu 阅读(53) 评论(0) 推荐(0)
摘要: 点击查看代码 #include<iostream> using namespace std; int main() { int n; cin >> n; int res = 0; while (n --) { int x; scanf("%d", &x); res ^= x; } if (res) 阅读全文
posted @ 2022-05-15 17:52 wKingYu 阅读(45) 评论(0) 推荐(0)