摘要: #include<stdio.h>#include<stdlib.h>int main (){ int x,y,n,a,b,c; scanf("%d,&n"); while(c<n) { y=2; c=1; for(a=2;a<=y;a++) { b=0; if(y%a==0) { b++; } } 阅读全文
posted @ 2019-07-21 22:26 Cathycat 阅读(110) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>#include<stdlib.h>int main (){ int a,x; int i=0; scanf("%d",&a); for(x=2;x<a;x++) { if(a%x==0) { i++; printf("%d\n",x);// 打印所有约数 } } 阅读全文
posted @ 2019-07-21 21:22 Cathycat 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 尝试着去做了一下同学推荐的题,完全不会. 果然我还是太菜了. 仍然沉浸在他太受欢迎和我太差的悲哀中 不匹配啊 阅读全文
posted @ 2019-07-21 21:21 Cathycat 阅读(112) 评论(0) 推荐(0) 编辑