UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#102420#1134. 记数问题 yezx10076ms1196kbC++285b2020-02-27 15:00:082020-02-27 15:00:09

answer


详细

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

Test #1:

score: 10
Accepted
time: 16ms
memory: 1192kb

input:

1000000 0


output:

488895

result:

ok single line: '488895'

Test #2:

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

input:

9 0

output:

0

result:

ok single line: '0'

Test #3:

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

input:

10000 0

output:

2893

result:

ok single line: '2893'

Test #4:

score: 10
Accepted
time: 15ms
memory: 1196kb

input:

765432 2

output:

486694

result:

ok single line: '486694'

Test #5:

score: 10
Accepted
time: 16ms
memory: 1196kb

input:

987654 3

output:

595336

result:

ok single line: '595336'

Test #6:

score: 10
Accepted
time: 17ms
memory: 1196kb

input:

999999 9

output:

600000

result:

ok single line: '600000'

Test #7:

score: 10
Accepted
time: 6ms
memory: 1196kb

input:

555555 4

output:

382716

result:

ok single line: '382716'

Test #8:

score: 10
Accepted
time: 6ms
memory: 1196kb

input:

575455 5

output:

365504

result:

ok single line: '365504'

Test #9:

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

input:

10 1

output:

2

result:

ok single line: '2'

Test #10:

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

input:

97 7

output:

20

result:

ok single line: '20'