UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#53405#328. moneyKyrie_Harry_Irving100820ms125804kbC++2.6kb2019-03-31 09:28:502019-03-31 14:00:45

answer


详细

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

Test #1:

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

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: 740kb

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: 21ms
memory: 22252kb

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: 500kb

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: 281ms
memory: 125804kb

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: 580kb

input:

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

output:

NIE

result:

ok Correct.

Test #7:

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

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:

5 1 10 9

result:

ok Correct.

Test #8:

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

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:

7 7 9 7

result:

ok Correct.

Test #9:

score: 5
Accepted
time: 12ms
memory: 22252kb

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: 7304kb

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: 90ms
memory: 59252kb

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:

705 747 752 812

result:

ok Correct.

Test #12:

score: 5
Accepted
time: 242ms
memory: 125796kb

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: 2252kb

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:

9 25 19 34

result:

ok Correct.

Test #14:

score: 5
Accepted
time: 14ms
memory: 22248kb

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:

379 64 380 64

result:

ok Correct.

Test #15:

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

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 3 4 3

result:

ok Correct.

Test #16:

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

input:

4 3
1 1 1
1 9 1
1 1 1

output:

NIE

result:

ok Correct.

Test #17:

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

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:

88 93 89 93

result:

ok Correct.

Test #18:

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

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: 1928kb

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: 141ms
memory: 125792kb

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 2000

result:

ok Correct.