标签:
1 #include <bits/stdc++.h> 2 using namespace std; 3 int main() 4 { 5 double r, m, y; 6 cin >> r >> m >> y; 7 cout << fixed << setprecision(0); 8 cout << (long long)(m * pow(1 + r / 100, y)) << endl; 9 return 0; 10 }
[BZOJ1755] [Usaco2005 qua] Bank Interest
标签:
原文地址:http://www.cnblogs.com/CtrlCV/p/5370389.html