QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#871861#9232. Mathematics ChampionshipsZhaoZiLongWA 20ms4048kbC++201.4kb2025-01-25 22:26:142025-01-25 22:26:25

詳細信息

Test #1:

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

input:

2
5 -1 2 -10

output:

7

result:

ok 1 number(s): "7"

Test #2:

score: 0
Accepted
time: 20ms
memory: 4048kb

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: 0
Accepted
time: 16ms
memory: 4048kb

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:

65536000000

result:

ok 1 number(s): "65536000000"

Test #4:

score: -100
Wrong Answer
time: 14ms
memory: 4048kb

input:

16
956610 775719 1 1 1 289220 430357 1 1 1 901711 370086 1 231850 1 694324 456633 830605 1 1 1 1 361879 1 1 115942 711009 901045 431786 689181 1 1 300941 616860 1 862030 437774 659255 634468 289820 776743 1 399950 1 1 1 426646 1 794365 1 1 531556 692680 183131 131337 1 906728 1 1 1 431810 259229 959...

output:

18128978599

result:

wrong answer 1st numbers differ - expected: '18128755275', found: '18128978599'