摘要: #include <stdio.h> int hws(int a) { int b=0,c=a; while(a) { b=b*10+a%10; a=a/10; } if(c==b) return 1; else return 0; } main() { int a,b; for(a=100;a<= 阅读全文
posted @ 2022-09-26 20:35 myrj 阅读(40) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> main() { int a; for(a=1;a<100;a++) if(a%3==2 && a%5==4) { printf("%d",a); break; } getchar(); } 阅读全文
posted @ 2022-09-26 17:10 myrj 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> main() { int a,b=0,c; scanf("%d",&a); while(a) { b=b*10+a%10; a=a/10; } printf("%d",b); getchar(); } #include <stdio.h> void fx(int 阅读全文
posted @ 2022-09-26 16:39 myrj 阅读(35) 评论(0) 推荐(0) 编辑