![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
快速幂
wang_hoho
这个作者很懒,什么都没留下…
展开
-
FZU - 1627 - Revival's road (矩阵快速幂)
Problem 1627 Revival's road Accept: 206 Submit: 424 Time Limit: 5000 mSec Memory Limit : 32768 KB Problem Description Oaiei is idle, and recently he wants to travel around the cou原创 2017-11-30 21:24:05 · 230 阅读 · 0 评论 -
第十四届浙江财经大学程序设计竞赛 - B - Bazinga (欧几里得+快速幂)
链接:https://www.nowcoder.com/acm/contest/89/B 来源:牛客网 时间限制:C/C++ 3秒,其他语言6秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 There is a formula: gcd(a, b) is the greatest common divisor of a ...原创 2018-04-06 20:28:50 · 137 阅读 · 0 评论