UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#100387#1134. 记数问题 hjt10066ms1200kbC++214b2020-02-24 18:30:142020-02-24 18:30:19

answer


详细

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

Test #1:

score: 10
Accepted
time: 14ms
memory: 1200kb

input:

1000000 0


output:

488895

result:

ok single line: '488895'

Test #2:

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

input:

9 0

output:

0

result:

ok single line: '0'

Test #3:

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

input:

10000 0

output:

2893

result:

ok single line: '2893'

Test #4:

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

input:

765432 2

output:

486694

result:

ok single line: '486694'

Test #5:

score: 10
Accepted
time: 13ms
memory: 1200kb

input:

987654 3

output:

595336

result:

ok single line: '595336'

Test #6:

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

input:

999999 9

output:

600000

result:

ok single line: '600000'

Test #7:

score: 10
Accepted
time: 8ms
memory: 1200kb

input:

555555 4

output:

382716

result:

ok single line: '382716'

Test #8:

score: 10
Accepted
time: 8ms
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: 1196kb

input:

97 7

output:

20

result:

ok single line: '20'