| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 153411 | 王显端 | 19买画笔 | C++ | Wrong Answer | 1 MS | 268 KB | 221 | 2026-05-17 11:08:16 |
#include<bits/stdc++.h> using namespace std; int main() { int n,a,t[1000001]={},j; cin>>n; for(int i=0;i<n;i++){ cin>>a; t[a]++; } for(int j=1;j<=n;j++){ if(t[j]==1){ break; } } cout<<j; return 0; }
------Input------
9 1 1 9 11 3 3 11 5 9
------Answer-----
5
------Your output-----
0