QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#190869#7501. Simple GameZhaoZiLongTL 2ms8848kbC++20998b2023-09-29 14:59:192023-09-29 14:59:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 8848kb

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
Time Limit Exceeded

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
6587041421
5590449872
558267139
669469759
5159364163
119715292
75391642
1357091819
1618273431
989761305
1529438455
1869646563
7408247323
1335203346
917908198
2606803111
736868540
3235890337
989833401
203260994
26577370
1035529151
1902546245
701263910...

result: