Submission #2738

#TimeUsernameProblemLanguageResultExecution timeMemory
2738yourID속이기 (GA5_fake)C++98
100 / 100
0 ms1088 KiB
#include <stdio.h> int n, s, m = 987654321, x, k; int main() { scanf("%d", &n); while(n--) { scanf("%d", &k); x ^= k; s += k; if(m > k) m = k; } printf("%d\n", x ? 0 : 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...