QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#412885#8672. 排队Milmon0 86ms43636kbC++141.3kb2024-05-16 21:05:312024-05-16 21:05:31

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 10
Accepted
time: 3ms
memory: 32568kb

input:

3 3
0 0
1 2
0 2
1 1
1 3
2 3

output:

1
3
1

result:

ok 3 number(s): "1 3 1"

Test #2:

score: -10
Wrong Answer
time: 6ms
memory: 34736kb

input:

5000 5000
5 10
3 9
3 8
2 7
2 5
3 6
1 5
0 2
7 8
2 10
0 3
3 6
4 6
1 6
4 8
7 8
2 7
3 4
4 9
7 8
2 9
2 5
3 6
0 5
6 7
1 2
2 4
2 10
1 5
7 9
6 9
2 3
9 10
5 5
2 9
3 3
2 7
2 4
0 6
0 3
1 7
7 7
4 8
2 9
4 8
0 10
1 8
1 1
2 7
5 9
1 7
1 7
1 4
2 4
1 4
2 9
1 7
4 7
3 8
1 3
4 6
1 5
1 6
0 0
3 9
4 7
2 8
1 8
1 2
7 8
2 7
2...

output:

1862
1897
5646
1703
968
6289
8311
7620
1110
488
1810
955
9038
967
4148
4313
5666
5339
6400
4543
4781
2063
4219
5649
2576
2941
1634
1261
4170
7715
8007
2434
4956
2135
3681
6305
929
2219
6961
4032
1667
6788
2399
4827
6218
126
6591
2088
3378
2870
3486
1540
3063
2918
2658
6501
3298
777
4631
3972
5633
63...

result:

wrong answer 1st numbers differ - expected: '11', found: '1862'

Subtask #2:

score: 0
Wrong Answer

Test #12:

score: 0
Wrong Answer
time: 67ms
memory: 43636kb

input:

200000 200000
3 6
3 3
6 10
1 7
2 7
6 9
4 6
3 4
0 8
0 6
3 5
3 4
1 8
7 8
4 5
0 3
1 5
2 9
1 2
1 2
3 4
5 7
6 10
3 9
4 7
1 6
2 6
1 7
2 5
1 7
6 8
1 1
0 7
7 8
0 9
1 7
3 8
3 7
1 2
4 8
5 6
0 6
5 6
2 7
2 6
0 6
0 6
1 7
2 5
0 3
0 3
7 10
3 8
0 2
3 4
3 7
4 9
0 6
4 7
2 6
8 10
2 10
4 10
3 3
2 6
4 5
3 9
1 8
1 2
2 9
...

output:

284996
339524
273452
57346
76934
8846
309308
190296
313988
152088
388826
199504
29826
302150
394504
328588
36544
177914
143432
90672
20482
79638
91034
263388
10632
17146
213764
200498
133396
129290
139396
200274
281834
206502
83998
340964
333770
172466
385748
226820
240630
152336
155306
283734
4146
...

result:

wrong answer 1st numbers differ - expected: '11', found: '284996'

Subtask #3:

score: 0
Wrong Answer

Test #22:

score: 0
Wrong Answer
time: 86ms
memory: 43312kb

input:

200000 200000
0 1
0 2
0 3
0 4
0 5
0 6
0 7
0 0
0 9
0 10
0 0
0 0
0 13
0 14
0 0
0 16
0 17
0 18
0 19
0 0
0 21
0 22
0 23
0 0
0 0
0 0
0 0
0 28
0 0
0 30
0 31
0 32
0 33
0 34
0 35
0 0
0 0
0 38
0 39
0 40
0 41
0 42
0 43
0 44
0 45
0 46
0 0
0 48
0 49
0 50
0 51
0 52
0 53
0 54
0 55
0 56
0 57
0 0
0 59
0 60
0 0
0 0
...

output:

39049
91679
40731
131237
38654
13997
86022
277682
6913
226992
205135
118216
15349
45704
60859
114909
81536
109847
142112
146190
65612
70005
121740
70911
151428
19637
27387
84233
135539
306153
105487
7709
26106
73360
40023
274462
33722
64384
130833
117690
47817
100246
75477
174658
75961
96971
257821
...

result:

wrong answer 1st numbers differ - expected: '19141', found: '39049'

Subtask #4:

score: 0
Wrong Answer

Test #32:

score: 0
Wrong Answer
time: 76ms
memory: 43456kb

input:

200000 200000
0 200000
1 200000
1 200000
0 200000
0 200000
1 200000
1 200000
1 200000
0 200000
1 200000
0 200000
0 200000
1 200000
0 200000
0 200000
0 200000
0 200000
1 200000
0 200000
0 200000
1 200000
0 200000
1 200000
1 200000
1 200000
1 200000
0 200000
0 200000
1 200000
2 200000
1 200000
2 20000...

output:

71225
21392
65746
47219
62293
29293
146311
136624
165312
81582
25124
120262
104926
12518
90916
31784
50073
15588
1518
106447
92329
71506
16695
4846
38213
34902
133281
98868
700
26264
6639
173461
61316
71682
15564
112193
125788
15305
41842
30380
24109
17436
10900
115179
22281
37582
101778
120170
1264...

result:

wrong answer 1st numbers differ - expected: '71224', found: '71225'

Subtask #5:

score: 0
Skipped

Dependency #1:

0%

Subtask #6:

score: 0
Skipped

Dependency #5:

0%