Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126889 | 何睿函 | 19买画笔 | C++ | Accepted | 1 MS | 272 KB | 314 | 2025-07-22 13:50:54 |
#include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int b[101]; for (int i = 1; i < 101; i++) { b[i] = 0; } for (int i = 1; i <= n; i++) { int x ; cin >> x; b[x]++; } for (int i = 1; i < 101; i++) { if (b[i] % 2 != 0) { cout << i; } } return 0; }