快速幂
Somethingwll
先这样吧。。。
展开
-
HDU5363:Key Set
A - A Time Limit:1000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64u Submit Status Description soda has a set with integers . A set is called key set if the sum of原创 2016-07-23 19:35:39 · 330 阅读 · 0 评论 -
HDOJ—1061—Rightmost Digit
Rightmost Digit Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description Given a positive integer N, you should output the most right原创 2016-07-23 20:05:04 · 349 阅读 · 0 评论 -
POJ1995 Raising Modulo Numbers
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%lld & %llu Submit Status Description People are different. Some secretly read magazines full of interesting girls' pi原创 2016-07-23 19:51:14 · 337 阅读 · 0 评论 -
HDU-2035-人见人爱A^B【快速幂】
人见人爱A^B Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description 求A^B的最后三位数表示的整数。 说明:A^B的含义是“A的B次方” Input 输入数据包含多个原创 2016-07-23 20:02:06 · 281 阅读 · 0 评论 -
poj-3641-Pseudoprime numbers【快速幂】
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Submit Status Description Fermat's theorem states that for any prime number p and for any integer a > 1, a原创 2016-07-23 19:39:52 · 371 阅读 · 0 评论 -
lightoj-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,原创 2016-08-11 09:51:52 · 461 阅读 · 0 评论 -
HDU-4506【快速幂】
题目链接:点击打开链接 小明系列故事——师兄帮帮忙 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 5629 Accepted Submission(s): 1548 Problem Descriptio原创 2016-10-30 22:09:45 · 299 阅读 · 0 评论