C语言 t1108,t0722,t0623求解!感谢啦!
nwpu吧
全部回复
仅看楼主
level 5
秦维奇 楼主
如题,IE02,也不太会啊……[拍砖]
2012年06月07日 13点06分 1
level 5
秦维奇 楼主
别沉!![顶]
2012年06月07日 13点06分 2
level 5
秦维奇 楼主
别沉!![顶]
2012年06月07日 13点06分 3
level 5
秦维奇 楼主
别沉!![顶]
2012年06月07日 13点06分 4
level 8
#include <stdio.h>#
include void main(){int a,b,sum=0,i=0,t;scanf("%d%d",&a,&b);while(b){t=b%10;sum+=t*pow(a,i++);b/=10;}printf("%d",sum);}
2012年06月07日 13点06分 5
level 5
秦维奇 楼主
不好意思哦,刚没有看到,谢谢你啦[Love]
2012年06月07日 13点06分 12
1