Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
14882 戰無不勝的毛澤東思想萬歲! 【入门】Apples C++ 解答错误 0 MS 248 KB 474 2022-12-07 20:47:57

Tests(0/20):


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


测评信息: