#include <stdio.h>int main() { int a=2016; int i=2; for (i;i*i<a+1;i++){ if (a%i==0)//求因数{ int b=2; for(b;b*b<i+1;b++){ if(i%b==0){break;}//求质因数 else{printf("%d ",i);}}}} return 0; }
1 回答
- 1 回答
- 0 关注
- 1291 浏览
添加回答
举报
0/150
提交
取消