#P5084. 幂的末尾
幂的末尾
题目描述
幂的末 位数是多少?
输入格式
两个正整数。
输出格式
从高位到低位输出幂的末三位数字,中间无分隔符。若幂本身不足三位,在前面补零。
样例
7 2011
743
幂ab的末 3 位数是多少?
两个正整数a,b(1≤a≤100,1≤b≤10000)。
从高位到低位输出幂的末三位数字,中间无分隔符。若幂本身不足三位,在前面补零。
7 2011
743
By signing up a HGNUOJ universal account, you can submit code and join discussions in all online judging services provided by us.