Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
40099 wuxinyue 人口增长 C++ 解答错误 0 MS 244 KB 237 2024-02-07 15:39:37

Tests(0/1):


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


测评信息: