QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#508678#5715. 幂次MaMengQi70 576ms50932kbC++171.0kb2024-08-07 19:05:262024-08-07 19:05:26

詳細信息


Pretests


Final Tests

Test #1:

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

input:

92 1

output:

92

result:

ok 1 number(s): "92"

Test #2:

score: 5
Accepted
time: 0ms
memory: 3604kb

input:

96 2

output:

12

result:

ok 1 number(s): "12"

Test #3:

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

input:

9383 3

output:

37

result:

ok 1 number(s): "37"

Test #4:

score: 5
Accepted
time: 0ms
memory: 3612kb

input:

9830 2

output:

124

result:

ok 1 number(s): "124"

Test #5:

score: 5
Accepted
time: 0ms
memory: 3824kb

input:

927700 3

output:

149

result:

ok 1 number(s): "149"

Test #6:

score: 5
Accepted
time: 0ms
memory: 3664kb

input:

972504 2

output:

1097

result:

ok 1 number(s): "1097"

Test #7:

score: 5
Accepted
time: 0ms
memory: 3620kb

input:

94345650 3

output:

605

result:

ok 1 number(s): "605"

Test #8:

score: 5
Accepted
time: 0ms
memory: 4096kb

input:

98811802 2

output:

10429

result:

ok 1 number(s): "10429"

Test #9:

score: 5
Accepted
time: 1ms
memory: 3664kb

input:

9328450690 3

output:

2541

result:

ok 1 number(s): "2541"

Test #10:

score: 5
Accepted
time: 12ms
memory: 8552kb

input:

9775065820 2

output:

101083

result:

ok 1 number(s): "101083"

Test #11:

score: 5
Accepted
time: 7ms
memory: 4108kb

input:

948459050000 3

output:

11116

result:

ok 1 number(s): "11116"

Test #12:

score: 5
Accepted
time: 128ms
memory: 50932kb

input:

993120563000 2

output:

1006727

result:

ok 1 number(s): "1006727"

Test #13:

score: 5
Accepted
time: 62ms
memory: 5860kb

input:

93781484300000 3

output:

49275

result:

ok 1 number(s): "49275"

Test #14:

score: 0
Time Limit Exceeded

input:

98250912400000 2

output:


result:


Test #15:

score: 5
Accepted
time: 576ms
memory: 14012kb

input:

9272034040000000 3

output:

221661

result:

ok 1 number(s): "221661"

Test #16:

score: 0
Time Limit Exceeded

input:

9981231040000000 2

output:


result:


Test #17:

score: 0
Time Limit Exceeded

input:

942817384000000000 3

output:


result:


Test #18:

score: 0
Time Limit Exceeded

input:

987478897000000000 2

output:


result:


Test #19:

score: 0
Time Limit Exceeded

input:

932205945000000000 2

output:


result:


Test #20:

score: 0
Time Limit Exceeded

input:

992520149596833024 2

output:


result: