Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
33598 shiwangchu 人口增长 C++ 编译错误 0 MS 0 KB 188 2023-12-10 19:39:55

Tests(0/0):


#include<iostream>y using namespace std; int main(){ double x,n; int i=0; cin>>x>>n; while(i<=n){ i++; x=x*(1+0.001); } cout<<fixed<<setprecision(4)<<x; return 0; }


测评信息: