3 solutions

  • 0
    @ 2025-12-10 17:20:30

    #include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else if(x%20&&(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%20&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<1<<" "; } else{ cout<<0<<" "; } if(x%2!=0&&(x>4&&x<=12)){ cout<<0<<" "; } else if(x%20||(x>4&&x<=12)){ cout<<0<<" "; } else{ cout<<1<<" "; } return 0; }

    Information

    ID
    1337
    Time
    1000ms
    Memory
    256MiB
    Difficulty
    2
    Tags
    (None)
    # Submissions
    70
    Accepted
    45
    Uploaded By