摘要: 同余与模运算 三个公式: 输入正整数n和m。输出n mod m的值,n using namespace std; int pow(int a,int n,int m){ int ans = 1; for(int i = 0;i<n;i++) ans = (int)(... 阅读全文
posted @ 2015-10-29 08:30 __夜风 阅读(728) 评论(0) 推荐(0) 编辑