Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
39127 | Hyma | 人口增长 | C++ | Accepted | 1 MS | 248 KB | 158 | 2024-01-30 19:20:33 |
#include<iostream> using namespace std; int main() { float x,n; cin>>x>>n; for(int i=0;i<n;i++){ x=x*1.001; } printf("%.4f",x); return 0; }