【模拟试题】进制转换(normal) Time Limit:1000MS Memory Limit:65536K Total Submit:451 Accepted:203 Descriptio

#include  
#include  
int main()  
{  
    int fun(int,char s[],int);/*??????????*/  
    void func(int n,int k);/*????k????*/  
    char m[1000];  
    int n,len,k;  
    int sum;  
    scanf("%d%s%d",&n,&m,&k);  
    len=strlen(m);  
    sum=fun(n,m,len);  
    func(sum,k);  
}  
int fun(int e,char h[],int len)  
{  
    int i,j,l;  
    int d;  
    int sum=0,k=1;  
    for(i=0,l=len;i

你可能感兴趣的:(c++)