摘要: 第一道:Rightmost digit 求N^N次最后一个数字 快速幂mod10咯 代码如下: #include <cstdio> #define ll long long using namespace std; const int mod = 10; int qm(ll a,ll b) { ll 阅读全文
posted @ 2019-02-23 17:01 Mrzdtz220 阅读(166) 评论(0) 推荐(0)