| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 33597 | yanxiaorui | 人口增长 | C++ | Compile Error | 0 MS | 0 KB | 265 | 2023-12-10 19:39:41 |
提交时间:2023-12-10 19:39:09 运行 ID: 33596 #include<iostream> #include<iomanip> using namespace std; int main() { double n,x; int i=0; cin>>n>>x; while(i<=n){ i++; x=x*(1+0.001); } cout<<fixed<<setprecision(4)<<x; return 0; }