QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#871762#9232. Mathematics ChampionshipsZhaoZiLongWA 7ms4044kbC++17556b2025-01-25 21:58:332025-01-25 21:58:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3840kb

input:

2
5 -1 2 -10

output:

7

result:

ok 1 number(s): "7"

Test #2:

score: 0
Accepted
time: 7ms
memory: 4044kb

input:

16
-609613 -130770 -74903 -953063 -673733 -7782 -141033 -99062 -498219 -788730 -18046 -531998 -902273 -849783 -790670 -400728 -647376 -304831 -612699 -804475 -583199 -556118 -210732 -764688 -261754 -909084 -204446 -122287 -599939 -883646 -162399 -604178 -457433 -86693 -599542 -859403 -144631 -541667...

output:

-32

result:

ok 1 number(s): "-32"

Test #3:

score: -100
Wrong Answer
time: 5ms
memory: 4044kb

input:

16
1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1...

output:

1111490560

result:

wrong answer 1st numbers differ - expected: '65536000000', found: '1111490560'