Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
76001 何思佳 19买画笔 C++ Accepted 0 MS 272 KB 276 2024-06-01 12:17:16

Tests(5/5):


Code:

#include<bits/stdc++.h> using namespace std; int main () { int n; cin>>n; int a; int tong[101]={0}; for(int i=1;i<=n;i++){ cin>>a; tong[a]++; } int zs=1; for(int j=1;j<=1000;j++){ if(tong[j]%2==1){ cout<<j; break; } } return 0; }