| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 124572 | 范恒恺 | 19买画笔 | C++ | Time Limit Exceeded | 1000 MS | 264 KB | 288 | 2025-07-12 08:57:18 |
#include<iostream> using namespace std; int a[1000005]; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ cin>>a[i]; } for(int i=1;i<=n;i++){ int cnt=0; for(int j=1;i<=n;j++){ if(a[i]==a[j]){ cnt++; } } if(cnt%2==0){ cout<<a[i]<<endl; break; } } }