1 条题解

  • 0
    @ 2026-8-20 11:33:15

    #include <bits/stdc++.h> using namespace std; int n; int x, y; int cnt, ans;

    int main() { cin >> n; while (n--) { cin >> x >> y; ans = x * 7 / 10; for (int i = 1; i <= y; i++) { x = x * 95 / 100; } cnt += max(x, ans); } cout << cnt; return 0; }

    • 1

    信息

    ID
    31273
    时间
    1000ms
    内存
    256MiB
    难度
    4
    标签
    递交数
    54
    已通过
    25
    上传者