Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
121944 翁思宸 19买画笔 C++ Accepted 0 MS 272 KB 481 2025-06-13 18:52:24

Tests(5/5):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a[101]={0},n,x=0,max=0,max_i=0; cin>>n; for(int i=1;i<=n;i++){ cin>>x; a[x]++; } for(int j=1;j<=100;j++){ if(a[j]==1){ cout<<j; } } return 0; }