![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
【快速幂】
Mr丶Gao
加油!
展开
-
SDNU 1056.A ^ B Problem【快速幂取余】【8月12】
A ^ B Problem Description 给定三个数A, B, K, 求 A的B次方除以K的余数 。 Input 输入只有一行,为三个正整数A(1 Output 一个整数,(A ^ B) % K 的值。 Sample Input 11 100 7 Sample Outp原创 2015-08-12 20:04:24 · 916 阅读 · 0 评论 -
HDU 1097.A hard puzzle【快速幂或规律】【8月12】
A hard puzzle Problem Description lcy gives a hard puzzle to feng5166,lwg,JGShining and Ignatius: gave a and b,how to know the a^b.everybody objects to this BT problem,so lcy makes the problem原创 2015-08-12 20:50:21 · 1870 阅读 · 0 评论