2 solutions

  • 0
    @ 2026-10-21 21:11:41
    #include<iostream>
    using namespace std;
    int main()
    {
        int a,b;
        cin >> a >> b ;
        bool c = a > b;
        if (c!=0)
        {
            cout << a << endl;
        }
        else
        {
            cout << b << endl;
        }
        
    }
    

    Information

    ID
    291
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    117
    Accepted
    47
    Uploaded By