Submission #16819

#TimeUsernameProblemLanguageResultExecution timeMemory
16819kdh9949속이기 (GA5_fake)C++98
0 / 100
0 ms1084 KiB
#include<stdio.h> int n,k,xorsum,sum,min; int main() { scanf("%d",&n); for(int i=0;i<n;i++){ scanf("%d",&k); xorsum^=k; sum+=k; if(min<k)min=k; } printf("%d",xorsum?0:sum-min); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...