- 
              
个人简介
#include<bits/stdc++.h> using namespace std; int a[100]; int main() { int n,r,t=0; while(cin>>n>>r) { if(n==0) { cout<<"0"; }else{ while(n) { a[t]=n%r; t++; n=n/r; } for(int i=t-1;i>=0;i--) { if(a[i]>=10) cout<<char(a[i]+55); else cout<<a[i]; } cout<<endl; } }
return 0;}
 - 
                
通过的题目
 - 
  
最近活动
 - 
  
最近编写的题解
This person is lazy and didn't write any solutions. 
题目标签
- 语言基础
 - 3
 - 循环语句
 - 3
 - 选择语句
 - 1
 - 字符串、字符数组
 - 1