快速幂
文章平均质量分 82
Kadimarx
这个作者很懒,什么都没留下…
展开
-
POJ 3233-Matrix Power Series 【快速幂】
Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Input The input contains exactly one test case. The first line of input contains three positive原创 2018-02-06 15:18:15 · 297 阅读 · 0 评论 -
HDU 233 Matrix 5015【快速幂】
DescriptionIn our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 … in the same meaning. And here is the question: Suppose we have a matrix called 233 m原创 2018-02-06 15:31:55 · 231 阅读 · 0 评论 -
HDU 6217 BBP Formula 【快速幂】
DescriptionIn 1995, Simon Plouffe discovered a special summation style for some constants. Two year later, together with the paper of Bailey and Borwien published, this summation style was named as the转载 2018-02-06 16:43:33 · 544 阅读 · 0 评论