This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |