快速幂
zl_666
这个作者很懒,什么都没留下…
展开
-
Raising Modulo Numbers
Description People are different. Some secretly read magazines full of interesting girls' pictures, others create an A-bomb in their cellar, others like using Windows, and some like difficult mathema原创 2015-08-24 09:15:39 · 155 阅读 · 0 评论 -
A hard puzzle
Problem Description lcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT problem,so lcy makes the problem easier than begin原创 2015-11-22 17:09:37 · 196 阅读 · 0 评论 -
Rightmost Digit
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原创 2015-11-28 21:55:04 · 242 阅读 · 0 评论