Submission #3170

#TimeUsernameProblemLanguageResultExecution timeMemory
3170myungwoo속이기 (GA5_fake)C++98
100 / 100
0 ms1088 KiB
#include <stdio.h> int N; int main() { int k=0,mn=1e9,n,sum=0; for (scanf("%d",&N);N--;){ scanf("%d",&n); k ^= n; if (mn > n) mn = n; sum += n; } printf("%d\n",k?0:sum-mn); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...