标签:std pat for while printf print ++ amp return
#include<stdio.h>
int main()
{
int A,B,D;
scanf("%d%d%d",&A,&B,&D);
int he=A+B,Djinzhi[32],num=0;
do{
Djinzhi[num++]=he%D;
he/=D;
}while(he!=0);
for(int i=num-1;i>=0;i--)
{
printf("%d",Djinzhi[i]);
}
return 0;
}
标签:std pat for while printf print ++ amp return
原文地址:https://www.cnblogs.com/hebust/p/9498090.html