2 solutions

  • 0
    @ 2025-4-19 19:13:42

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

    Information

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