UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#967#23. Acz_xuyixuan1004305ms42048kbC++2.3kb2018-07-09 09:26:292018-07-09 13:31:11

answer


详细

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

Test #1:

score: 10
Accepted
time: 415ms
memory: 42044kb

input:

11 998244353

output:

651

result:

ok 1 number(s): "651"

Test #2:

score: 10
Accepted
time: 402ms
memory: 42044kb

input:

60 1000000009

output:

101457

result:

ok 1 number(s): "101457"

Test #3:

score: 10
Accepted
time: 412ms
memory: 42044kb

input:

73 998244353

output:

180007

result:

ok 1 number(s): "180007"

Test #4:

score: 10
Accepted
time: 408ms
memory: 42048kb

input:

9039240 1000000009

output:

443974844

result:

ok 1 number(s): "443974844"

Test #5:

score: 10
Accepted
time: 409ms
memory: 42048kb

input:

9196294 1000000009

output:

391130254

result:

ok 1 number(s): "391130254"

Test #6:

score: 10
Accepted
time: 406ms
memory: 42044kb

input:

9775622 1000000009

output:

764138175

result:

ok 1 number(s): "764138175"

Test #7:

score: 10
Accepted
time: 456ms
memory: 42044kb

input:

957560129 1000000007

output:

52164784

result:

ok 1 number(s): "52164784"

Test #8:

score: 10
Accepted
time: 474ms
memory: 42048kb

input:

951882222 998244353

output:

30965363

result:

ok 1 number(s): "30965363"

Test #9:

score: 10
Accepted
time: 460ms
memory: 42048kb

input:

928738646 1000000007

output:

981655745

result:

ok 1 number(s): "981655745"

Test #10:

score: 10
Accepted
time: 463ms
memory: 42048kb

input:

911039034 1000000009

output:

726376639

result:

ok 1 number(s): "726376639"

Extra Test:

score: 0
Extra Test Passed