You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
281 B

2 years ago
#include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
double r,x,p;
//<2F><><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>1 100 5
//<2F><><EFBFBD><EFBFBD> 105.10
int main() {
cin>>r>>x>>p;
double a=(100+r)/100;
printf("%.2lf\n",x*pow(a,p));
//printf("%d\n",pow(2,2));
//printf("%.2lf\n",pow(2,2));
return 0;
}