运行时输入n,输出n的所有质数因子输入13860输出2 2 3 3 5 7 11

来源:学生作业帮助网 编辑:作业帮 时间:2024/08/05 05:54:15
运行时输入n,输出n的所有质数因子输入13860输出2 2 3 3 5 7 11
x){‹=Ϧo{o֥y: }WY-:|eų^tCc 32##c 4U0W04I*'@p>v64prf^rNiJ^f^Bnbff5HIII''i((%jBSl"$[#$<;/*p

运行时输入n,输出n的所有质数因子输入13860输出2 2 3 3 5 7 11
运行时输入n,输出n的所有质数因子
输入13860
输出2 2 3 3 5 7 11

运行时输入n,输出n的所有质数因子输入13860输出2 2 3 3 5 7 11
#include
#include
int main(){
int a,b,c,d;
scanf("%d",&a);
d=a;
for(b=2;b