1 条题解

  • 1

    #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 { cout<<0<<" "; } if((x%2==0 && (x<=4 || x>12)) || (x%2!=0 && (x>4 && x<=12))) { cout<<1<<" "; } else { cout<<0<<" "; } if(x%2!=0 && (x<=4 || x>12)) { cout<<1<<" "; } else { cout<<0<<" "; } return 0; }

    • 1

    信息

    ID
    9732
    时间
    1000ms
    内存
    125MiB
    难度
    1
    标签
    (无)
    递交数
    38
    已通过
    25
    上传者