Submission #2739

#TimeUsernameProblemLanguageResultExecution timeMemory
2739kriii속이기 (GA5_fake)C++98
100 / 100
0 ms1088 KiB
#include <stdio.h> int N,XOR,U,SUM; int main() { int i,x; scanf ("%d",&N); U = 100000000; while (N--){ scanf ("%d",&x); SUM += x; XOR ^= x; if (U > x) U = x; } if (XOR != 0) SUM = U; printf ("%d",SUM-U); 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...