摘要:
#includeusing namespace std;//欧拉函数 int eular(int n){ int res=1,i; for(int i=2;i*i1) res*=n-1; return res;}int main(){ int n,m,sum; c... 阅读全文
posted @ 2015-10-09 20:40
T~Z
阅读(170)
评论(0)
推荐(0)
摘要:
#include#define LL long longusing namespace std;//快速幂算法LL pow(LL a,LL b,int m){ LL r=1,base=a; while(b!=0){ if(b&1) r=r*base%m;//同... 阅读全文
posted @ 2015-10-09 18:40
T~Z
阅读(145)
评论(0)
推荐(0)
浙公网安备 33010602011771号