QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#622105#2051. Count The OnesHuangHanShengAC ✓1ms3736kbC++206.6kb2024-10-08 19:54:052024-10-08 19:54:06

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3692kb

input:

3 2 1

output:

2

result:

ok answer is '2'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

10 9 1

output:

9

result:

ok answer is '9'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3692kb

input:

1000000000 999999999 1

output:

999999999

result:

ok answer is '999999999'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3732kb

input:

6 3 2

output:

2

result:

ok answer is '2'

Test #5:

score: 0
Accepted
time: 1ms
memory: 3736kb

input:

100 10 5

output:

6

result:

ok answer is '6'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

100 99 98

output:

2

result:

ok answer is '2'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

1000000000 999999999 999999998

output:

2

result:

ok answer is '2'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

15 10 5

output:

6

result:

ok answer is '6'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

1000 500 100

output:

401

result:

ok answer is '401'

Test #10:

score: 0
Accepted
time: 0ms
memory: 3672kb

input:

1000000000 999999999 100

output:

999999900

result:

ok answer is '999999900'