| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 124557 | 李昊宇 | 19买画笔 | C++ | Wrong Answer | 0 MS | 268 KB | 352 | 2025-07-12 08:52:36 |
#include<bits/stdc++.h> using namespace std; int a[1000]; int main(){ int n,p,b,d; 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;j<=n;j++){ if(a[i]==a[j]){ cnt++; } } if(cnt%2!=0){ cout<<i<<endl; } } }
------Input------
9 1 1 9 11 3 3 11 5 9
------Answer-----
5
------Your output-----
8