1 solutions

  • 1
    @ 2025-2-4 19:43:39

    auto 类型说明符用于自动推导变量等的类型。

    #include <bits/stdc++.h>
    #define endl '\n'
    
    using namespace std;
    
    typedef long long ll;
    
    auto x = 0;
    
    int main() {
        cin >> x;
        if (x <= 999)
            cout << "ABC" << endl;
        else
            cout << "ABD" << endl;
        return 0;
    }
    

    Information

    ID
    17876
    Time
    2000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    4
    Accepted
    3
    Uploaded By