快速幂
文章平均质量分 67
阿.荣.
勿弃
展开
-
hdoj 1061 Rightmost Digit
Rightmost Digit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 47546 Accepted Submission(s): 17962 Problem Description Given a posi原创 2016-07-22 21:22:06 · 252 阅读 · 0 评论 -
poj Raising Modulo Numbers 【快速幂 + 模取余】
Raising Modulo Numbers Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 6524 Accepted: 3857 Description People are different. Some secretly read magazines f原创 2016-07-23 14:08:42 · 280 阅读 · 0 评论 -
poj 3641 Pseudoprime numbers
Pseudoprime numbers Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8291 Accepted: 3471 Description Fermat's theorem states that for any prime numb原创 2016-07-23 14:19:08 · 308 阅读 · 0 评论 -
hdoj 2035 人见人爱A^B [快速幂 模板题]
人见人爱A^B Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 35278 Accepted Submission(s): 23959 Problem Description 求A^B的最后三位数表示的整数。 说明原创 2016-07-23 14:29:30 · 257 阅读 · 0 评论 -
Light 1078 Integer Divisibility (取模运算)
Light 1078 Integer Divisibility (取模运算) 1078 - Integer Divisibility PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB If an原创 2016-07-30 17:28:15 · 403 阅读 · 0 评论 -
hdoj 4506 小明系列故事——师兄帮帮忙 (快速幂取模)
小明系列故事——师兄帮帮忙 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others) Total Submission(s): 5553 Accepted Submission(s): 1503 Problem Description 小明自从告别了ACM原创 2016-10-28 15:07:16 · 267 阅读 · 0 评论 -
hdoj 5666 Segment ( 数学几何 +快速积)
Segment Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1756 Accepted Submission(s): 647 Problem Description Silen August原创 2017-03-08 18:22:16 · 581 阅读 · 0 评论 -
poj 1365 Prime Land (数学--唯一分解定理)
Prime Land Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4098 Accepted: 1856 Description Everybody in the Prime Land is using a prime base number syste原创 2017-03-28 21:39:20 · 453 阅读 · 0 评论