Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
20832 LeoWang 人口增长 C++ 通过 0 MS 244 KB 188 2023-06-21 06:48:09

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n; double x; cin>>x>>n; for(int i=0;i<n;i++){ x=x*1001/1000; } cout<<fixed<<setprecision(4)<<x; return 0; }


测评信息: