摘要: Problem 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 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(1usin 阅读全文
posted @ 2013-11-24 17:31 蓝色记忆2013 阅读(258) 评论(0) 推荐(0)