Run ID:126889
提交时间: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; }