秒解
2026-07-29 17:27:28
发布于:浙江
31阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string s;
while ( n) {
s=char(n%2+'0')+s;
n /= 2;
}
cout<<s;
return 0;
}
简单死了!
这里空空如也







有帮助,赞一个