1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 using namespace std; 5 double r,x,p; 6 int main() 7 { 8 cin>>r>>x>>p; 9 double a=(100+r)/100; 10 printf("%.2lf",x*pow(a,p)); 11 return 0; 12 }
1 100 5
105.10
Copyright 2018 自为风月马前卒