4 条题解

  • -3

    #include<bits/stdc++.h>

    using namespace std;

    int main()

    {

    double x;

    int n;

    cin >> x >> n;

    for (int i = 1; i <= n; i++)

    {

    x += x * 0.001;

    }

    cout << fixed << setprecision(4) << x;

    return 0;

    }

    信息

    ID
    443
    时间
    1000ms
    内存
    32MiB
    难度
    5
    标签
    递交数
    333
    已通过
    121
    上传者