UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119009#1309. 种树Body100343ms1376kbC++924b2020-09-12 22:14:482020-09-12 22:14:50

answer


详细

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

Test #1:

score: 7
Accepted
time: 74ms
memory: 1376kb

input:

30000
5000
9158 22771 6566
13580 24320 3907
9182 29947 1275
10839 22724 362
3432 17736 285
5519 1857...

output:

29513

result:

ok single line: '29513'

Test #2:

score: 7
Accepted
time: 0ms
memory: 1304kb

input:

9
4
1 4 2
4 6 1
8 9 2
3 5 2

output:

4

result:

ok single line: '4'

Test #3:

score: 7
Accepted
time: 17ms
memory: 1372kb

input:

30000
5000
8138 9466 994
1104 1737 298
13926 17723 3098
2522 2630 68
16815 18960 1030
799 3866 2951
...

output:

28848

result:

ok single line: '28848'

Test #4:

score: 7
Accepted
time: 105ms
memory: 1376kb

input:

30000
5000
9495 29873 836
6022 29630 14726
5212 26876 16032
1321 23238 7288
3505 23942 20123
2318 26...

output:

29576

result:

ok single line: '29576'

Test #5:

score: 7
Accepted
time: 120ms
memory: 1376kb

input:

30000
5000
4844 29925 19113
888 26521 10705
3801 28870 6894
4305 29962 17664
4028 29621 2189
4217 29...

output:

29636

result:

ok single line: '29636'

Test #6:

score: 7
Accepted
time: 0ms
memory: 1320kb

input:

800
8
165 462 106
254 556 129
164 588 89
188 511 62
132 281 66
18 500 65
116 355 94
244 509 63
171 3...

output:

167

result:

ok single line: '167'

Test #7:

score: 7
Accepted
time: 0ms
memory: 1320kb

input:

800
255
165 462 106
254 556 129
164 588 89
188 511 62
132 281 66
18 500 65
116 355 94
244 509 63
171...

output:

285

result:

ok single line: '285'

Test #8:

score: 7
Accepted
time: 1ms
memory: 1328kb

input:

1000
500
275 572 106
423 725 129
273 697 89
312 635 62
219 368 66
29 511 65
192 431 94
407 672 63
28...

output:

404

result:

ok single line: '404'

Test #9:

score: 7
Accepted
time: 0ms
memory: 1332kb

input:

10000
1000
2745 5710 1060
4222 7236 1292
2725 6962 897
3118 6348 620
2188 3676 663
284 5103 656
1918...

output:

4483

result:

ok single line: '4483'

Test #10:

score: 7
Accepted
time: 0ms
memory: 1372kb

input:

30000
5000
6823 6826 2
8945 8948 2
735 738 2
4051 4054 2
3997 4000 2
847 850 2
823 826 2
6311 6314 2...

output:

5002

result:

ok single line: '5002'

Test #11:

score: 7
Accepted
time: 11ms
memory: 1376kb

input:

30000
5000
10392 19608 1
10526 19474 1
14632 15368 1
12973 17027 1
12991 17009 1
14576 15424 1
14588...

output:

1

result:

ok single line: '1'

Test #12:

score: 7
Accepted
time: 0ms
memory: 1376kb

input:

30000
5000
1 30000 9999
13645 13648 2
17889 17892 2
1469 1472 2
8101 8104 2
7993 7996 2
1693 1696 2
...

output:

9999

result:

ok single line: '9999'

Test #13:

score: 7
Accepted
time: 15ms
memory: 1376kb

input:

30000
5000
14643 18274 2055
4381 7159 466
4344 7559 1597
15793 17187 1067
3606 4516 776
15724 20514 ...

output:

29150

result:

ok single line: '29150'