Submission #2877

#TimeUsernameProblemLanguageResultExecution timeMemory
2877cki86201속이기 (GA5_fake)C++98
100 / 100
0 ms1088 KiB
#include<stdio.h> int n,x,m=1e8,s; int main() { scanf("%d",&n); int i; for(i=0;i<n;i++){ int t;scanf("%d",&t); x^=t; m=m>t?t:m; s+=t; } if(x)printf("0"); else printf("%d",s-m); return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...