UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#73103#239. count12616872991002176ms157440kbC++854b2019-09-22 09:04:282019-09-22 12:04:10

answer


Details

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

Test #1:

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

input:

1000 1000 3


output:

498501

result:

ok single line: '498501'

Test #2:

score: 10
Accepted
time: 1ms
memory: 3284kb

input:

2000 2000 2


output:

1999

result:

ok single line: '1999'

Test #3:

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

input:

1999 1005 3


output:

1992024

result:

ok single line: '1992024'

Test #4:

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

input:

523098578902387543 1990 3


output:

741828632

result:

ok single line: '741828632'

Test #5:

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

input:

985435493875384653 1987 3

output:

930955578

result:

ok single line: '930955578'

Test #6:

score: 10
Accepted
time: 4ms
memory: 4016kb

input:

854378965978354365 4898 20


output:

72755158

result:

ok single line: '72755158'

Test #7:

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

input:

869347685748976465 5000 20


output:

946187174

result:

ok single line: '946187174'

Test #8:

score: 10
Accepted
time: 713ms
memory: 157440kb

input:

985493567483653416 4999 2000


output:

715344547

result:

ok single line: '715344547'

Test #9:

score: 10
Accepted
time: 731ms
memory: 156732kb

input:

1000000000000000000 4987 1992


output:

142311097

result:

ok single line: '142311097'

Test #10:

score: 10
Accepted
time: 722ms
memory: 157384kb

input:

666666666623333333 4998 1999


output:

7913341

result:

ok single line: '7913341'