QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#455624#105. Simple gameMaMengQi27 72ms18724kbC++231.8kb2024-06-26 16:55:482024-06-26 16:55:50

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3440kb

input:

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

output:

2
2

result:

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

Subtask #2:

score: 27
Accepted

Test #8:

score: 27
Accepted
time: 49ms
memory: 9212kb

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: 0
Accepted
time: 67ms
memory: 17324kb

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:

ok 100000 lines

Test #10:

score: 0
Accepted
time: 72ms
memory: 18724kb

input:

100000 100000
695104 174171 853672 901534 351235 175759 47881 576051 769342 369127 705691 435366 478318 544842 551806 926611 361778 816486 695922 287961 882958 193709 196575 231707 482987 779795 192013 15105 487445 152337 663340 846837 536700 380901 424846 561063 726771 728400 780072 924745 435700 3...

output:

31870
39772
30788
11144
42732
17872
33875
15158
36182
45316
47798
30266
12804
45814
21926
30490
3204
20580
49888
15958
46132
43824
3100
50130
21818
32766
42471
22490
14726
33583
50216
39287
24618
50220
41716
46026
48282
41428
28186
1282
23618
45394
42254
156
34109
42294
43432
21176
45942
46726
32973...

result:

ok 100000 lines

Test #11:

score: 0
Accepted
time: 35ms
memory: 6600kb

input:

100000 100000
1 1 1 2 1 1 2 1 2 2 1 2 2 1 1 2 1 1 2 1 2 1 2 2 1 2 1 2 2 2 2 1 1 2 2 1 2 2 2 2 2 2 1 1 2 1 1 1 2 2 1 2 1 2 1 1 2 1 2 1 2 1 1 2 2 1 2 2 1 1 2 2 1 2 1 1 1 1 2 1 2 1 1 1 1 2 2 1 1 1 2 2 1 1 1 2 2 1 1 2 1 1 2 2 2 1 2 2 1 2 2 1 2 1 1 2 1 1 2 1 1 2 1 2 2 2 2 2 1 2 1 1 1 1 1 2 2 2 2 2 2 1 2 ...

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 #12:

score: 0
Accepted
time: 48ms
memory: 9588kb

input:

100000 100000
2845 22894 4105 11830 29440 21804 24593 9910 14938 21157 24268 10418 9470 15050 3826 9948 15110 14592 2236 15211 2172 24929 9640 25051 26304 5194 15624 28298 19336 20491 5587 17181 7787 23690 1267 8073 19782 1376 9046 11722 1623 14250 9310 5279 26997 18041 19681 8475 22437 22562 5529 2...

output:

45066
50090
24109
27778
294
44422
34690
49640
48910
27841
40956
45154
44522
48806
32334
34736
21047
6908
22098
23527
32756
46746
44044
43216
13954
5816
28681
50068
7090
48558
21855
49224
7510
22323
16208
17085
33148
7880
48952
29166
17741
45728
19435
39960
49368
48080
47020
49508
3548
4476
48654
268...

result:

ok 100000 lines

Subtask #3:

score: 0
Skipped

Dependency #1:

0%