Submission #2928

#TimeUsernameProblemLanguageResultExecution timeMemory
2928imsifile속이기 (GA5_fake)C++98
100 / 100
0 ms1088 KiB
#include<stdio.h> int n, mi=1111111, a, sum, xo, i; int main(){ scanf("%d", &n); for(; i<n; i++){ scanf("%d", &a); sum+=a, xo^=a; if(mi>a)mi=a; } if(xo)puts("0"); else printf("%d", sum-mi); 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...