UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119011#1311. 线段Body100879ms9040kbC++451b2020-09-12 22:16:312020-09-12 22:16:32

answer


详细

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

Test #1:

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

input:

10
7 8
1 7
0 3
4 9
0 6
5 7
0 3
7 8
7 10
4 7

output:

3

result:

ok single line: '3'

Test #2:

score: 10
Accepted
time: 264ms
memory: 9040kb

input:

1000000
576098 946117
34888 235009
301588 933096
415268 845551
664624 991817
217411 439304
454480 92...

output:

1152

result:

ok single line: '1152'

Test #3:

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

input:

10
0 3
1 4
15 19
1 2
1 3
2 5
4 7
2 4
3 8
7 12

output:

5

result:

ok single line: '5'

Test #4:

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

input:

1000
754 7845
2547 3027
4126 5005
5995 7151
4450 8663
6599 8927
2688 7015
4645 9798
946 5248
3760 93...

output:

31

result:

ok single line: '31'

Test #5:

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

input:

1000
376 7663
271 8327
2526 8574
5553 5589
2707 6052
6303 8501
7867 9396
4364 6689
2923 3867
5903 66...

output:

33

result:

ok single line: '33'

Test #6:

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

input:

1000
199040 960595
15274 810777
127109 320307
410977 832918
195887 906719
132074 950786
67505 506370...

output:

40

result:

ok single line: '40'

Test #7:

score: 10
Accepted
time: 21ms
memory: 2008kb

input:

100000
51928 86684
44222 78141
37234 97310
872 63622
19749 42397
28805 92650
21164 99069
32954 71636...

output:

343

result:

ok single line: '343'

Test #8:

score: 10
Accepted
time: 31ms
memory: 2008kb

input:

100000
279619 482457
457408 474306
167766 520395
150349 251747
540564 744315
50596 133746
487428 931...

output:

350

result:

ok single line: '350'

Test #9:

score: 10
Accepted
time: 295ms
memory: 9040kb

input:

1000000
165646 741174
449571 565377
17013 790856
263727 475543
80265 754565
324100 853338
186418 436...

output:

1134

result:

ok single line: '1134'

Test #10:

score: 10
Accepted
time: 268ms
memory: 9040kb

input:

1000000
347842 572652
129640 137955
19404 50443
720518 980880
291922 599656
230722 344020
152633 750...

output:

1134

result:

ok single line: '1134'