poj 2390(水题)

#include<iostream>
#include<cmath>
using namespace std;
int main(){
    int r,m,y;
    scanf("%d%d%d",&r,&m,&y);
    double a = pow((100.0+r)/100,y)*m;
    printf("%.0lf\n",floor(a));
    return 0;
} 

 

posted @ 2021-11-29 13:25  智人心  阅读(19)  评论(0)    收藏  举报