QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#455453#105. Simple gameHuangHanSheng0 69ms29272kbC++232.3kb2024-06-26 14:24:482024-06-26 14:24:49

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 22
Accepted
time: 1ms
memory: 9744kb

input:

3 3
1 5 1
2 3
1 1 5
2 3

output:

2
1

result:

ok 2 lines

Test #2:

score: -22
Wrong Answer
time: 0ms
memory: 22060kb

input:

1000 1000
403944 539844 451514 488113 693733 651613 563358 916918 605393 909558 657949 170748 659971 389016 826009 517990 412996 904989 357541 151208 802899 615350 245323 574670 586084 779493 509446 634227 113180 158403 598536 396554 496919 395067 849333 498457 288483 246925 615590 137465 97346 5881...

output:

444
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
...

result:

wrong answer 2nd lines differ - expected: '462', found: '1'

Subtask #2:

score: 0
Wrong Answer

Test #8:

score: 27
Accepted
time: 44ms
memory: 17060kb

input:

100000 100000
18 15 8 5 7 19 19 11 11 8 6 15 11 8 15 12 6 16 18 18 16 17 20 18 18 17 15 5 8 8 18 6 18 20 14 19 19 5 9 16 5 17 15 19 20 17 12 9 14 18 19 16 9 6 10 11 13 16 12 18 6 12 6 15 19 20 10 17 10 12 15 13 18 7 14 8 7 15 7 14 9 17 10 15 13 14 15 12 11 12 14 14 14 19 7 16 7 17 12 16 11 6 18 18 1...

output:

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
...

result:

ok 100000 lines

Test #9:

score: -27
Wrong Answer
time: 69ms
memory: 29272kb

input:

100000 100000
611680 625326 848926 304761 34686 696982 275897 392063 769779 97648 477956 908326 678227 975305 324587 445989 114055 568928 232496 23720 819209 270123 89065 357324 169130 404179 130496 333348 773133 109363 144114 336567 194409 437469 655441 966463 892042 498325 192834 391531 219600 734...

output:

30636
30745
50130
4464
9086
47043
41334
49040
49968
40968
45913
30688
38855
840
48754
6896
41115
2658
35926
17394
31093
38693
45522
42447
47342
25584
926
21204
48506
48938
44596
32697
29204
28487
9200
49694
14140
11356
31722
50040
45009
26502
43711
18410
32269
9824
48842
22450
49066
22264
45987
2302...

result:

wrong answer 1353rd lines differ - expected: '47860', found: '0'

Subtask #3:

score: 0
Skipped

Dependency #1:

0%