1 条题解

  • 1
    @ 2026-7-15 19:41:43

    #include <bits/stdc++.h> using namespace std;

    int main() { int n, m; double c = 0; cin >> n; for (int x = 0; x < n; x++) { cin >> m; c = c + m; } if (c >= 100) cout << fixed << setprecision(2) << 100 + (c - 100) * 0.9; else cout << fixed << setprecision(2) << c;

    return 0;
    

    }

    • 1

    信息

    ID
    28634
    时间
    1000ms
    内存
    256MiB
    难度
    8
    标签
    递交数
    11
    已通过
    8
    上传者