QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#686173 | #7941. Jackpot | vdaysky | WA | 11ms | 10700kb | Python3 | 182b | 2024-10-29 05:50:58 | 2024-10-29 05:50:59 |
Judging History
answer
input()
points = list(map(int, input().split()))
points.sort()
half = len(points) // 2
print(abs(sum(points[half:]) - sum(points[:half])))
if __name__ == '__main__':
pass
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Wrong Answer
time: 11ms
memory: 10700kb
input:
3 2 42 42 42 42 1 42 69 3 1 2 3 4 5 6
output:
2
result:
wrong answer 1st numbers differ - expected: '0', found: '2'