![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
快速幂运算
文章平均质量分 79
ah_yeah
龟速前进中。。。
展开
-
HDU - 5363 Key Set
Key Set Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64u Description soda has a set with integers . A set is called key set if the sum of integers in原创 2016-07-23 15:55:42 · 277 阅读 · 0 评论 -
POJ - 3641 Pseudoprime numbers
Pseudoprime numbers Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Description Fermat's theorem (费马理论)states that for any prime number p and for any intege原创 2016-07-23 17:30:53 · 200 阅读 · 0 评论 -
POJ - 1995 Raising Modulo Numbers
Raising Modulo Numbers Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%lld & %llu Description People are different. Some secretly read magazines full of interesting原创 2016-07-23 20:22:37 · 235 阅读 · 0 评论 -
HDOJ -- 1061 Rightmost Digi
Rightmost Digit Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description Given a positive integer N, you should output the most right digit of N^N.原创 2016-07-23 14:45:06 · 281 阅读 · 0 评论