输出nN^N的结果的最右边的数字:you should output the most right digit of N
来源:学生作业帮 编辑:搜搜考试网作业帮 分类:英语作业 时间:2024/06/23 15:19:29
输出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
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
![输出nN^N的结果的最右边的数字:you should output the most right digit of N](/uploads/image/z/1008342-54-2.jpg?t=%E8%BE%93%E5%87%BAnN%5EN%E7%9A%84%E7%BB%93%E6%9E%9C%E7%9A%84%E6%9C%80%E5%8F%B3%E8%BE%B9%E7%9A%84%E6%95%B0%E5%AD%97%EF%BC%9Ayou+should+output+the+most+right+digit+of+N)
可能是超时了啊啊啊