2 solutions

  • 1
    @ 2025-3-22 13:45:10

    #include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if(a%2==0) { cout<<"even"; } else { cout<<"odd"; } return 0; }

    Information

    ID
    855
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    4
    Tags
    (None)
    # Submissions
    161
    Accepted
    73
    Uploaded By