![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
快速幂
zugofn
这个作者很懒,什么都没留下…
展开
-
POJ:1995 Raising Modulo Numbers(快速幂)
Raising Modulo Numbers Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 6508 Accepted: 3845 Description People are different. Some secretly read magazines f原创 2016-07-23 11:57:21 · 306 阅读 · 0 评论 -
POJ:3641 Pseudoprime numbers(快速幂)
Pseudoprime numbers Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8579 Accepted: 3604 Description Fermat's theorem states that for any prime number p and原创 2016-07-23 12:17:02 · 424 阅读 · 0 评论 -
Light OJ:1282 Leading and Trailing(数学+思维+对数+快速幂)
1282 - Leading and Trailing PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are given two integers: n and k, your task is to原创 2016-08-23 21:17:56 · 322 阅读 · 0 评论 -
Codeforces 337C:Quiz(贪心+规律+快速幂)
C. Quiz time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Manao is taking part in a quiz. The quiz consists of原创 2016-10-23 23:17:22 · 1253 阅读 · 0 评论 -
CSU OJ:1347 Last Digitn(找规律||找周期+快速幂)
1347: Last Digit Submit Page Summary Time Limit: 1 Sec Memory Limit: 128 Mb Submitted: 261 Solved: 161 Description The function f(n, k) is defined by f(n,原创 2017-04-10 18:32:26 · 1384 阅读 · 0 评论