A. 幂的末尾

    Type: Default 1000ms 256MiB

幂的末尾

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

幂$a^b$的末3位数是多少?

输入格式

两个正整数a,b。1≤a≤100,1≤b≤10000。

输出格式

从高位到低位输出幂的末三位数字,中间无分隔符。若幂本身不足三位,在前面补零。

样例

7 2011
743

scp-j模拟赛2023.5

Not Attended
Status
Done
Rule
OI
Problem
4
Start at
2023-5-25 19:45
End at
2023-5-29 3:45
Duration
4 hour(s)
Host
Partic.
2