QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#871223#9232. Mathematics ChampionshipsGuanYunchangWA 6ms3840kbC++171.6kb2025-01-25 19:55:382025-01-25 19:55:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
5 -1 2 -10

output:

7

result:

ok 1 number(s): "7"

Test #2:

score: 0
Accepted
time: 6ms
memory: 3584kb

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: 2ms
memory: 3840kb

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:

1000000

result:

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