QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#403893#4163. 地精部落dXqwq100 ✓51ms3928kbC++23853b2024-05-02 20:08:372024-05-02 20:08:37

詳細信息

Test #1:

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

input:

9 2811

output:

1817

result:

ok single line: '1817'

Test #2:

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

input:

10 12929

output:

10539

result:

ok single line: '10539'

Test #3:

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

input:

17 21929121

output:

7310012

result:

ok single line: '7310012'

Test #4:

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

input:

18 29121

output:

15047

result:

ok single line: '15047'

Test #5:

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

input:

200 123849291

output:

88055017

result:

ok single line: '88055017'

Test #6:

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

input:

500 182739417

output:

182278339

result:

ok single line: '182278339'

Test #7:

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

input:

550 281321834

output:

25165060

result:

ok single line: '25165060'

Test #8:

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

input:

2500 18239314

output:

16654836

result:

ok single line: '16654836'

Test #9:

score: 10
Accepted
time: 46ms
memory: 3928kb

input:

4000 129394123

output:

59559500

result:

ok single line: '59559500'

Test #10:

score: 10
Accepted
time: 51ms
memory: 3884kb

input:

4200 192340123

output:

81768678

result:

ok single line: '81768678'