QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#864146#8672. 排队HuangHanSheng0 118ms47560kbC++142.5kb2025-01-20 11:02:472025-01-20 11:02:48

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

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

input:

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

output:

1
3
2

result:

wrong answer 3rd numbers differ - expected: '1', found: '2'

Subtask #2:

score: 0
Wrong Answer

Test #12:

score: 0
Wrong Answer
time: 94ms
memory: 44992kb

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:

142501
169765
136729
28676
38470
4426
154657
95151
156997
76047
194416
99755
14916
151078
197255
164297
18275
88960
71719
45339
10244
39822
45520
131697
5319
8576
106885
100252
66701
64648
69701
100140
140920
103254
42002
170485
166888
86236
192877
113413
120318
76171
77656
141870
2076
89171
195089
...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #22:

score: 0
Wrong Answer
time: 117ms
memory: 42672kb

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:

28632
58948
22380
88063
23300
7497
39531
139737
4177
116908
95916
83101
3818
22790
37204
86261
53734
76846
101325
67388
41501
37224
81856
40379
109594
11255
5842
62394
101669
156656
65454
5655
19479
47445
25785
127928
24983
42909
95902
84539
35663
71532
34115
129089
56263
67026
133073
54285
23748
50...

result:

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

Subtask #4:

score: 0
Wrong Answer

Test #32:

score: 0
Wrong Answer
time: 118ms
memory: 47560kb

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%