1 条题解

  • 0
    @ 2026-8-20 11:25:52

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

    int main() { long long n, x, y; cin >> n >> x >> y; long long cnt = n / 7; long long ans = n * x + cnt * y; cout << ans << endl; return 0; }

    • 1

    信息

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