QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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
詳細信息
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'