0101少儿编程
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
IDE下载
Login
Register
5369: 【29课】【3175】幂的末尾
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:181
Solved:76
Submit
Submit Record
Statistics
ShowOff!
Description
幂
a
b
的末
3
位数是多少?
Input
两个正整数
a
,
b
。(
1
≤
a
≤
100
,
1
≤
b
≤
10000
)
Output
从高位到低位输出幂的末三位数字,中间无分隔符。若幂本身不足三位,在前面补零。
Sample Input
Copy
7 2011
Sample Output
Copy
743
Source/Category
一本通编程启蒙
循环结构
Submit
Submit Record
Statistics
ShowOff!