2 条题解

  • 0
    @ 2026-9-11 18:51:06

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

    • 0
      @ 2026-8-14 15:04:05

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

      • 1

      信息

      ID
      29
      提交时间
      1000ms
      内存
      256MiB
      难度
      1
      标签
      递交数
      104
      已通过
      33
      上传者