提交时间:2024-09-24 06:58:56
运行 ID: 51670
#include<bits/stdc++.h> using namespace std; int main() { double people, n, sum; cin >> people >> n; sum = people; for (int i = 1; i <= n; i++) { sum *= 1.01; } cout << sum; return 0; }