摘要: #include <stdio.h> #include <math.h> main() { int a=1003; int b,c=0,d=0,s=0;while(a) { b=a%2; s=s+b*pow(10,d); d++; a=a/2; } printf("%d",s); getchar() 阅读全文
posted @ 2022-05-17 22:18 myrj 阅读(234) 评论(0) 推荐(0) 编辑