acgo题库
  • 首页
  • 题库
  • 题单
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 题解

    userId_undefined

    zsy

    7月全勤卷王题解仙人出道萌新时间刺客时空双修者秩序白银
    34阅读
    0回复
    2点赞
  • 一拳击碎你的全网第一梦(我是全网第一!)

    #include<bits/stdc++.h> using namespace std; void p(long long n,int m){ if(n0){ return ; } p(n/m,m); cout << n%m << " "; } int main(){ int n,m; cin >> n >> m; if(n0){ cout << 0; } else{ p(n,m); } return 0; }

    userId_undefined

    迟绾画星

    37阅读
    0回复
    1点赞
  • 超级进制转换

    #include<bits/stdc++.h> using namespace std; void f(int n,int k){ if(n<k){ cout<<n<<" "; return; } f(n/k,k); cout<<n%k<<" "; } int main(){ int n,k; cin>>n>>k; f(n,k); }

    userId_undefined

    魏均杭

    出道萌新时间刺客字符串·魔法使倔强青铜
    18阅读
    0回复
    1点赞
  • AC

    #include<bits/stdc++.h> using namespace std; void f(int n,int k){ if(n==0) return; f(n/k,k); cout<<n%k<<" "; } int main(){ int n,k; cin>>n>>k; f(n,k); }

    userId_undefined

    bianhl

    出道萌新时间刺客空间掌握者题解仙人分治·分治练习生秩序白银
    6阅读
    0回复
    1点赞
首页