输出nN^N的结果的最右边的数字:you should output the most right digit of N

问题描述:

输出nN^N的结果的最右边的数字:you should output the most right digit of N^N
Problem Description
Given a positive integer N,you should output the most right digit of N^N.
Input
The input contains several test cases.The first line of the input is a single integer T which is the number of test cases.T test cases follow.
Each test case contains a single positive integer N(1
1个回答 分类:英语 2014-09-19

问题解答:

我来补答
可能是超时了啊啊啊
 
 
展开全文阅读
剩余:2000
下一页:例6求步骤