简单题
View Code
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
using namespace std;
int main()
{
int r, m, y;
//freopen("t.txt", "r", stdin);
scanf("%d%d%d", &r, &m, &y);
long double ans = m;
printf("%lld\n", (long long)(ans * pow((1 + r * 1.0 / 100), y)));
return 0;
}