
快速幂
Murphyc
喵喵喵!
展开
-
UVa NO.10006 Carmichael Numbers
Carmichael Numbers Time limit3000 ms Description An important topic nowadays in computer science is cryptography. Some people even think that cryptography is the only important field in computer sc原创 2017-05-21 21:24:14 · 462 阅读 · 0 评论 -
第15届上海大学程序设计联赛夏季赛暨上海高校金马五校赛(部分题解)
唉,好久没更新博客了,说明我这段时间在学习上都懈怠了Σ( ° △ °|||)︴昨天打了场金马赛,这网络…..我真的是无力吐槽…..前三题都是大水题,就不挂代码了;D-快速幂取模裸题#include<bits/stdc++.h>using namespace std;typedef long long ll;const int mod=1000000007;ll MOD(ll a,ll b,l原创 2017-07-10 13:54:47 · 1013 阅读 · 0 评论