3 solutions

  • 0
    @ 2025-11-1 14:54:32
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
        int n;
        cin>>n;
        if(n%2!=0)
        {
            cout<<"yes";
        }
        return 0;
    }
    
    • 0
      @ 2025-11-1 14:52:16

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

      • -1
        @ 2025-3-8 15:51:13

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

        • 1

        Information

        ID
        13
        Time
        1000ms
        Memory
        256MiB
        Difficulty
        1
        Tags
        (None)
        # Submissions
        244
        Accepted
        108
        Uploaded By