输出nN^N的结果的最右边的数字:you should output the most right digit of N^NProblem DescriptionGiven a positive integer N,you should output the most right digit of N^N.InputThe input contains several test cases.The first line of the input
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 18:38:40
输出nN^N的结果的最右边的数字:you should output the most right digit of N^NProblem DescriptionGiven a positive integer N,you should output the most right digit of N^N.InputThe input contains several test cases.The first line of the input
输出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
输出nN^N的结果的最右边的数字:you should output the most right digit of N^NProblem DescriptionGiven a positive integer N,you should output the most right digit of N^N.InputThe input contains several test cases.The first line of the input
可能是超时了啊啊啊