| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 31304 | lnx | 人口增长 | C++ | Accepted | 0 MS | 264 KB | 209 | 2023-11-18 13:06:54 |
#include<iostream> #include<iomanip> #include<cmath> using namespace std; int main() { double x,n; cin>>x>>n; double t=pow(1.001,n); double m=x*t; cout<<fixed<<setprecision(4)<<m; return 0; }