摘要: 输入一个数字,输出它的所有质数因子。 #include <iostream> #include <cmath> #include <sstream> using namespace std; //判断一个数是质数:如果用0~n^0.5去除,均无法整除,则为质数 int isPrime(int inp 阅读全文
posted @ 2020-09-06 11:01 Mindtechnist 阅读(37) 评论(0) 推荐(0) 编辑