UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#97965#328. moneyBinary_Search_Tree100522ms99172kbC++2.0kb2020-02-21 18:33:482020-02-21 18:33:49

answer


详细

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

Test #1:

score: 5
Accepted
time: 16ms
memory: 18844kb

input:

119998 500
369670 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

201 301 300 500

result:

ok Correct.

Test #2:

score: 5
Accepted
time: 0ms
memory: 7368kb

input:

175 10
1 5 2 8 6 8 3 10 3 2
9 10 7 1 2 2 1 4 10 794
2 836 9 4 7 1 6 6 4 2
8 6 1 10 2 2 7 9 2 2
10 4 ...

output:

NIE

result:

ok Correct.

Test #3:

score: 5
Accepted
time: 10ms
memory: 34312kb

input:

934536 500
187 291 946 707 218 416 493 609 175 662 254 849 284 858 234 697 938 30 804 514 863 607 55...

output:

44 344 166 358

result:

ok Correct.

Test #4:

score: 5
Accepted
time: 0ms
memory: 7272kb

input:

8 4
1 2 1 3
25 1 2 1
4 20 3 3
3 30 12 2

output:

3 4 3 4

result:

ok Correct.

Test #5:

score: 5
Accepted
time: 230ms
memory: 99172kb

input:

1654192 2000
289 154 320 25 90 769 816 153 998 725 214 545 971 995 66 981 704 456 197 163 172 301 95...

output:

NIE

result:

ok Correct.

Test #6:

score: 5
Accepted
time: 0ms
memory: 11384kb

input:

999999 10
2000000000 2000000000 2000000000 2000000000 2000000000 2000000000 2000000000 2000000000 20...

output:

NIE

result:

ok Correct.

Test #7:

score: 5
Accepted
time: 3ms
memory: 11372kb

input:

1468 10
33 67 87 85 32 28 45 20 1 52
18 47 100 40 4 13 72 59 18 89
86 19 29 24 24 90 29 18 73 72
13 ...

output:

1 1 10 4

result:

ok Correct.

Test #8:

score: 5
Accepted
time: 0ms
memory: 13416kb

input:

150 15
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
1 1...

output:

9 7 15 7

result:

ok Correct.

Test #9:

score: 5
Accepted
time: 3ms
memory: 34864kb

input:

1039198 500
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

202 51 299 450

result:

ok Correct.

Test #10:

score: 5
Accepted
time: 0ms
memory: 24044kb

input:

21827 200
23 10 56 80 32 71 5 9 93 61 23 29 2 61 9 99 35 23 74 59 41 2 90 6 58788 62 12 70 61010 29 ...

output:

89 129 160 134

result:

ok Correct.

Test #11:

score: 5
Accepted
time: 39ms
memory: 52232kb

input:

1509740 1000
566 812 353 454 660 59 286 249 64 343 647 99 588 888 180 423 712 302 268 882 738 638 81...

output:

329 506 401 547

result:

ok Correct.

Test #12:

score: 5
Accepted
time: 87ms
memory: 92212kb

input:

10186198 2000
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

51 952 1950 1049

result:

ok Correct.

Test #13:

score: 5
Accepted
time: 0ms
memory: 15576kb

input:

5874 60
11 73 93 97 65 14835 51 92 18 4 1 32 74 64 37 29 100 89 23 92 60 28340 15 92 1 6 55 80 18 21...

output:

16 17 23 30

result:

ok Correct.

Test #14:

score: 5
Accepted
time: 8ms
memory: 32820kb

input:

1001 500
71 613 639 488 77 44 690 735 950 142 672 457 13 380 371 233 944 901 32 699 566 959 260 766 ...

output:

169 1 173 1

result:

ok Correct.

Test #15:

score: 5
Accepted
time: 3ms
memory: 11372kb

input:

11 5
6 4 8 5 6
3 5 3 10 2
9 3 10 10 2
10 6 1 3 44
62 31 5 2 55

output:

3 1 5 1

result:

ok Correct.

Test #16:

score: 5
Accepted
time: 0ms
memory: 11372kb

input:

4 3
1 1 1
1 9 1
1 1 1

output:

NIE

result:

ok Correct.

Test #17:

score: 5
Accepted
time: 0ms
memory: 21920kb

input:

101 200
100 31 35 73 5 44 28 90 96 16 23 98 68 84 67 61 9 78 43 52 16 87 98 65 75 47 37 90 1 86 100 ...

output:

197 1 200 1

result:

ok Correct.

Test #18:

score: 5
Accepted
time: 0ms
memory: 7276kb

input:

2 6
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 5 5 5
5 5 5 4 5 5
5 5 5 5 5 5

output:

4 5 4 5

result:

ok Correct.

Test #19:

score: 5
Accepted
time: 0ms
memory: 15556kb

input:

2597 50
14066 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...

output:

27 25 50 49

result:

ok Correct.

Test #20:

score: 5
Accepted
time: 123ms
memory: 93708kb

input:

3000000 2000
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

output:

1 1 2000 1500

result:

ok Correct.