摘要: 题目:将某个正整数分解质因式,并输出分解结果。代码:1、递归2、非递归#include using namespace std;// recursivevoid prim1(int m,int n){ if(m>n){ while(m%n!=0) n++; m=m/... 阅读全文
posted @ 2015-05-13 17:19 AndyJee 阅读(410) 评论(0) 推荐(0) 编辑