Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
88065 陈昊然 19买画笔 C++ Accepted 1 MS 268 KB 233 2024-08-17 11:50:41

Tests(5/5):


Code:

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