Leftmost Digit
摘要:
Problem DescriptionGiven a positive integer N, you should output the leftmost 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(1<=N& 阅读全文
posted @ 2012-04-27 19:57 L_S_X 阅读(117) 评论(0) 推荐(0) 编辑