#include<bits/stdc++.h>
using namespace std;
int main(){
    int n,s[100],z;
    cin>>n;
    for(int i=0;i!=0;i++){
        s[i]=n%2;
        z++;
        n/=2;
    }
    for(int i=z-1;i>=0;i--){
        cout<<s[i];
    }
    return 0;
}

 

posted on 2024-06-02 08:56  爱吃泡面的皮卡  阅读(6)  评论(0编辑  收藏  举报