Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155523 邓弘锐 19买画笔 C++ Wrong Answer 1 MS 260 KB 236 2026-06-07 14:59:46

Tests(2/5):


Code:

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


Run Info:

------Input------
9 1 1 9 3 5 3 11 5 9
------Answer-----
11
------Your output-----