QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#581465#4163. 地精部落3un_larryfunc100 ✓44ms86092kbC++231.3kb2024-09-22 12:56:012024-09-22 12:56:02

詳細信息


Pretests


Final Tests

Test #1:

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

input:

9 2811

output:

1817

result:

ok single line: '1817'

Test #2:

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

input:

10 12929

output:

10539

result:

ok single line: '10539'

Test #3:

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

input:

17 21929121

output:

7310012

result:

ok single line: '7310012'

Test #4:

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

input:

18 29121

output:

15047

result:

ok single line: '15047'

Test #5:

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

input:

200 123849291

output:

88055017

result:

ok single line: '88055017'

Test #6:

score: 10
Accepted
time: 2ms
memory: 14256kb

input:

500 182739417

output:

182278339

result:

ok single line: '182278339'

Test #7:

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

input:

550 281321834

output:

25165060

result:

ok single line: '25165060'

Test #8:

score: 10
Accepted
time: 18ms
memory: 53056kb

input:

2500 18239314

output:

16654836

result:

ok single line: '16654836'

Test #9:

score: 10
Accepted
time: 44ms
memory: 81860kb

input:

4000 129394123

output:

59559500

result:

ok single line: '59559500'

Test #10:

score: 10
Accepted
time: 44ms
memory: 86092kb

input:

4200 192340123

output:

81768678

result:

ok single line: '81768678'