摘要: #include <stdio.h> int main() { int n,a[100],i=0,j; scanf("%d",&n); while(n) { a[i++]=n%2; n/=2; } for(j=i-1;j>=0;j--) printf("%d",a[j]); printf("\n") 阅读全文
posted @ 2022-01-27 11:49 JackieDYH 阅读(4) 评论(0) 推荐(0) 编辑