Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107748 李佳璟 19买画笔 C++ Wrong Answer 1 MS 264 KB 266 2025-01-18 11:51:55

Tests(0/5):


Code:

#include<iostream> using namespace std; int a[1000]; int main(){ int n,t; cin>>n; for(int i=1;i>=n;i++){ cin>>t; a[t]++; } for(int i=1;i<=100;i++){ if(a[i]==1){ cout<<i; break; } } }


Run Info:

------Input------
9 1 1 9 11 3 3 11 5 9
------Answer-----
5
------Your output-----