Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88226 王馨桐 19买画笔 C++ Accepted 1 MS 268 KB 254 2024-08-18 17:42:50

Tests(5/5):


Code:

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