Submission #16820

#TimeUsernameProblemLanguageResultExecution timeMemory
16820kdh9949속이기 (GA5_fake)C++98
100 / 100
0 ms1084 KiB
#include<stdio.h> int n,k,xorsum,sum,min=987654321; 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...