19 lines
299 B
C++
19 lines
299 B
C++
|
|
#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;
|
|||
|
|
}
|
|||
|
|
|