QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#412636#8672. 排队PTqwq_0 239ms402692kbC++144.3kb2024-05-16 16:52:032024-05-16 17:40:24

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 34012kb

input:

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

output:

4

result:

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

Subtask #2:

score: 0
Wrong Answer

Test #12:

score: 0
Wrong Answer
time: 85ms
memory: 402692kb

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:

12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
12
...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #22:

score: 0
Wrong Answer
time: 239ms
memory: 395516kb

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:

297
297
274
307
309
287
306
299
290
291
291
303
317
308
291
312
312
296
301
271
285
294
310
282
301
307
303
296
301
305
288
304
318
293
299
298
307
295
294
315
299
303
290
297
292
305
297
311
297
309
316
312
305
307
294
301
283
303
311
305
302
288
296
306
280
303
306
313
302
295
304
291
286
296
301
...

result:

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

Subtask #4:

score: 0
Wrong Answer

Test #32:

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

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:

1
2
2
1
1
2
1
1
1
1
1
1
1
1
1
1
1
1
2
1
2
1
1
3
1
1
1
2
2
1
2
1
2
2
2
1
3
2
1
3
2
2
1
1
2
2
1
2
1
2
1
1
2
1
1
1
2
1
1
2
2
1
2
2
1
1
2
1
2
2
2
1
1
3
1
2
1
2
2
2
3
2
2
2
2
1
2
1
1
1
2
1
2
1
2
2
1
2
2
1
2
1
2
1
3
2
2
2
1
1
2
1
1
2
1
1
1
1
1
1
1
1
1
3
1
2
2
1
3
3
2
1
2
2
2
2
2
2
2
1
2
2
2
1
1
2
2
2
1
2
...

result:

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

Subtask #5:

score: 0
Skipped

Dependency #1:

0%

Subtask #6:

score: 0
Skipped

Dependency #5:

0%