| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 33596 | yanxiaorui | 人口增长 | C++ | Compile Error | 0 MS | 0 KB | 208 | 2023-12-10 19:39:09 |
#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; }