Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153428 孔声豪 19买画笔 C++ Accepted 3 MS 4176 KB 256 2026-05-17 11:18:38

Tests(5/5):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int t[1000001]={},n,a,j; cin>>n; for(int i=1;i<=n;i++){ cin>>a; t[a]++; } for( j=1;j<=100;j++){ if(t[j]==1){ break; } } cout<<j; return 0; }