6 solutions

  • -3
    @ 2025-3-15 13:52:18

    #include<bits/stdc++.h> using namespace std; int main() { int x,y; cin>>x>>y; int z=3-x-y; if (x==y) { cout<<x; } else { cout<<z; } return 0; }

    Information

    ID
    2311
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    1
    Tags
    (None)
    # Submissions
    50
    Accepted
    36
    Uploaded By