Submission #18503

#TimeUsernameProblemLanguageResultExecution timeMemory
18503gs14004속이기 (GA5_fake)C++14
100 / 100
0 ms1084 KiB
#include <cstdio> int n,t,h,m=1e6,x; int main(){ scanf("%d",&n); for (int i=0; i<n; i++) { scanf("%d",&t); h += t; if(m > t) m = t; x ^= t; } if(x) m=h; printf("%d",h-m); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...