现在的位置: 首页 > 综合 > 正文

1755: [Usaco2005 qua]Bank Interest

2018年04月25日 ⁄ 综合 ⁄ 共 125字 ⁄ 字号 评论关闭
#include<cstdio>
#include<cmath>
double r,m,y;
int main(){
	scanf("%lf%lf%lf",&r,&m,&y);
	printf("%d",int(pow(r/100+1,y)*m));
	return 0;
}

抱歉!评论已关闭.