答案
查看原帖
答案
1642997
MWHPOTATO楼主2025/1/16 16:09

看一下叭

#include<bits/stdc++.h>
using namespace std;
int main(){
    int n;
	double x;
    cin>>x>>n;
    for(int i=1;i<n;i++){
        x+=x/1000.0;
    }
    cout<<x;
    return 0;
}
2025/1/16 16:09
加载中...