| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 61017 | 祝家懿 | 19买画笔 | C++ | Wrong Answer | 1 MS | 268 KB | 358 | 2023-11-25 17:07:06 |
#include<iostream> #include<cstdio> using namespace std; int b[1000001]; int main(){ long long n; int a[101]; cin>>n; for(int i=1;i<=n;i++){ cin>>b[i]; } for(int i=1;i<=101;i++){ for(int x=1;x<=n;x++){ if(b[x]=i){ a[101]++; } } } for(int i=1;i<=n;i++){ if(a[i]=1){ cout<<a[i]; return 0; } } }
------Input------
9 1 1 9 11 3 3 11 5 9
------Answer-----
5
------Your output-----
1