# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
16819 |
2015-09-30T23:40:01 Z |
kdh9949 |
속이기 (GA5_fake) |
C++ |
|
0 ms |
1084 KB |
#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 time |
Memory |
Grader output |
1 |
Correct |
0 ms |
1084 KB |
Output is correct |
2 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
1084 KB |
Output is correct |
2 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
1084 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |