| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 124560 | 李昊宇 | 19买画笔 | C++ | Accepted | 1 MS | 276 KB | 355 | 2025-07-12 08:53:46 |
#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<<a[i]<<endl; } } }