| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 75999 | 邓嘉瑶 | 19买画笔 | C++ | Wrong Answer | 1 MS | 272 KB | 238 | 2024-06-01 12:15:06 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,t[101]; cin>>n; int a; for(int i=0;i<n;i++){ cin>>a; t[a]++; } for(int j=1;j<=100;j++){ if(t[j]%2!=0){ cout<<j; break; } } return 0; }
------Input------
9 1 1 9 11 5 3 11 5 3
------Answer-----
9
------Your output-----
6