2016年10月16日

摘要: Description People are different. Some secretly read magazines full of interesting girls' pictures, others create an A-bomb in their cellar, others li 阅读全文
posted @ 2016-10-16 23:05 阿宝的锅锅 阅读(1463) 评论(0) 推荐(0)
 
摘要: 数论计算中经常出现的一种运算就是求一个数的幂ab对另外一个数n个模的运算,即计算: ab mod n (a,b,n是正整数) 由于计算机只能表示有限位的整数,所以编程时模取幂的运算要注意值的大小范围,当ab的值超过整数范围时,mod运算便无法进行。 如何解决这个问题,我们引出一个能计算ab mod 阅读全文
posted @ 2016-10-16 22:23 阿宝的锅锅 阅读(287) 评论(0) 推荐(0)