UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#96659#1168. 校门外的树zch51817421001ms1236kbC++477b2020-02-20 12:41:422020-02-20 12:41:43

answer


详细

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

Test #1:

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

input:

10000 100
6193 8245
3840 9103
7702 8392
3654 6843
201 734
3199 4667
1591 4597
5149 7292
2455 3071
27...

output:

90

result:

ok single line: '90'

Test #2:

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

input:

10000 100
3948 7788
98 981
2154 8667
2617 6782
5794 6001
6442 9342
2149 3737
1577 6021
7451 8658
114...

output:

99

result:

ok single line: '99'

Test #3:

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

input:

10000 100
762 9763
1737 9913
4753 9522
4083 4851
949 4304
1403 2595
3760 9845
725 2472
3827 8461
259...

output:

48

result:

ok single line: '48'

Test #4:

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

input:

10000 10
123 134
890 1231
1321 3123
3333 4444
9999 10000
8888 9988
4555 4666
5000 6000
8007 8887
677...

output:

2411

result:

ok single line: '2411'

Test #5:

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

input:

1000 5
0 100
101 200
900 1000
207 400
401 899

output:

6

result:

ok single line: '6'

Test #6:

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

input:

10000 100
4158 6989
5484 5608
1689 4145
569 3107
1126 6125
1008 2384
2964 3566
4218 8024
4987 9020
7...

output:

24

result:

ok single line: '24'

Test #7:

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

input:

10000 100
1707 9754
4830 8139
450 699
1614 1923
5351 8426
633 1301
1143 2038
2031 2770
7892 9454
290...

output:

54

result:

ok single line: '54'

Test #8:

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

input:

10000 100
2215 3642
4820 6827
302 743
3750 5703
7998 9160
7181 9183
2048 6781
3402 4402
2047 2792
17...

output:

9

result:

ok single line: '9'

Test #9:

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

input:

10000 100
273 295
5243 5360
5340 6314
2673 4220
2912 5444
322 3201
150 4806
2266 8500
4555 5569
3454...

output:

115

result:

ok single line: '115'

Test #10:

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

input:

10000 100
3105 3212
653 7547
6334 8501
3590 8649
174 6707
107 7589
7661 8155
912 5843
4532 8970
7029...

output:

393

result:

ok single line: '393'