2 条题解

  • 0
    @ 2023-4-16 8:03:41

    #include<bits/stdc++.h> using namespace std; int main(){ long long res=0,w=0; cin>>res; int a[100]; do{ a[w]=res%8; res=res/8; w++; }while(res>0); for(int i=w-1;i>=0;i--){ cout<<a[i]; } return 0; }

    信息

    ID
    1874
    时间
    1000ms
    内存
    256MiB
    难度
    5
    标签
    (无)
    递交数
    187
    已通过
    67
    上传者