QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#190818#7501. Simple GameHuangHanShengWA 521ms4668kbC++20973b2023-09-29 14:34:492023-09-29 14:34:49

詳細信息

Test #1:

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

input:

4
2
1 4
2 1
3
1 1 4
5 1 4
4
1 9 4 9
1 0 0 1
7
3 1 4 1 5 9 2
6 5 3 5 8 9 8

output:

5
6
15
25

result:

ok 4 number(s): "5 6 15 25"

Test #2:

score: -100
Wrong Answer
time: 521ms
memory: 4668kb

input:

42433
3
417100972 410793626 16460156
310855598 294966258 483255444
1
957745962
947824037
1
445126120
888003539
1
580400325
275543008
1
754900842
891210463
10
998208800 656500425 488610806 666154179 263153117 196838149 441444097 6047510 848944483 189661679
599149426 756456402 979588669 522525295 6566...

output:

844354754
957745962
445126120
580400325
754900842
-1378143560
1295482576
558267139
669469759
-349203154
119715292
75391642
1357091819
1618273431
989761305
1529438455
1869646563
-1181687269
1335203346
917908198
-1688164185
736868540
-1059076959
989833401
203260994
26577370
1035529151
1902546245
70126...

result:

wrong answer 6th numbers differ - expected: '6587041421', found: '-1378143560'