Fork me on GitHub
摘要: //求因子个数 int Facnt(int n) { int res = 1; for(int i=2;i*i 1) res = 2*res; return res; } //求因子和 int Facsum(int n) { int res = 1; for(int i=2;i*i 1) res *= (n+1); ... 阅读全文
posted @ 2014-07-04 23:27 whatbeg 阅读(543) 评论(0) 推荐(0) 编辑