| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 77986 | sh25_yezy | 人口增长 | C++ | Accepted | 0 MS | 252 KB | 252 | 2025-12-26 15:11:47 |
#include<bits/stdc++.h> using namespace std; int main(){ int x, n; float ppl; cin>>x>>n; ppl=x*1.0; for(int i=0;i<n;i++){ ppl=ppl*1.001; //cout << i+1 << ' ' << ppl << endl; } cout<<fixed<<setprecision(4)<<ppl*1.0; return 0; }