1 条题解

  • 0
    @ 2026-8-5 11:40:48

    气不气,答案就是n-1!!

    #include <iostream>
    using namespace std;
    
    int main()
    {
        int n;
        cin >> n;
        cout << n - 1 << endl;
        return 0;
    }
    
    • 1

    信息

    ID
    17938
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    (无)
    递交数
    124
    已通过
    84
    上传者