UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37955#110. 翘课yangrui100205ms10128kbC++1.4kb2018-11-04 15:23:502018-11-04 15:23:50

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 1ms
memory: 3224kb

input:

300 500 1
8 50
159 174
131 273
145 279
24 110
66 241
193 243
88 204
128 230
41 113
4 170
10 258
34 1...

output:

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
35
36
38
38
40
42
44
46
48
50
52
54
56
58
60
61
63
65...

result:

ok 500 lines

Test #2:

score: 10
Accepted
time: 59ms
memory: 10128kb

input:

200000 200000 1
16808 75250
50074 143659
11273 108931
27545 50879
37710 177924
38166 164441
43043 84...

output:

2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
52
54
56
58
60
62
64
66
68
70...

result:

ok 200000 lines

Test #3:

score: 10
Accepted
time: 0ms
memory: 3276kb

input:

1500 2000 2
308 1250
159 1074
273 431
879 1045
710 924
666 1441
493 543
504 988
230 1328
113 341
170...

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
...

result:

ok 2000 lines

Test #4:

score: 10
Accepted
time: 0ms
memory: 3272kb

input:

2000 2000 2
808 1250
74 1659
931 1273
879 1545
1710 1924
166 441
493 1043
504 1988
328 1730
613 841
...

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
...

result:

ok 2000 lines

Test #5:

score: 10
Accepted
time: 0ms
memory: 3268kb

input:

500 2000 5
250 308
74 159
273 431
45 379
210 424
166 441
43 493
4 488
230 328
113 341
170 304
158 21...

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
...

result:

ok 2000 lines

Test #6:

score: 10
Accepted
time: 2ms
memory: 3272kb

input:

200 2000 10
8 50
59 74
73 131
79 145
110 124
41 166
43 93
104 188
128 130
13 41
104 170
110 158
134 ...

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
...

result:

ok 2000 lines

Test #7:

score: 10
Accepted
time: 2ms
memory: 3272kb

input:

2000 2000 30
8 50
59 74
31 73
45 79
10 24
41 66
43 93
4 88
28 30
13 41
4 70
10 58
34 61
79 100
17 36...

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
...

result:

ok 2000 lines

Test #8:

score: 10
Accepted
time: 46ms
memory: 9688kb

input:

50000 200000 4
16808 25250
74 43659
8931 11273
879 27545
27924 37710
14441 38166
34493 43043
7988 22...

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
...

result:

ok 200000 lines

Test #9:

score: 10
Accepted
time: 47ms
memory: 9472kb

input:

10000 200000 20
5250 6808
74 3659
1273 8931
879 7545
7710 7924
4441 8166
3043 4493
2504 7988
1730 23...

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
...

result:

ok 200000 lines

Test #10:

score: 10
Accepted
time: 48ms
memory: 9540kb

input:

20000 200000 8
15250 16808
3659 10074
8931 11273
7545 10879
17710 17924
4441 18166
3043 4493
2504 79...

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
...

result:

ok 200000 lines

Extra Test:

score: 0
Extra Test Passed