摘要: #include<bits/stdc++.h> using namespace std; int main(){ int n,s=1; cin>>n; while(n>0){ cout<<n%2; s++; n/=2; } return 0; } 阅读全文
posted @ 2024-04-14 09:34 郭立恒 阅读(20) 评论(0) 推荐(0)