14 条题解
-
1
#include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x%20 and x>4 and x<=12){ cout<<"1";}else{ cout<<"0";} if(x%20 or (x>4 and x<=12)){ cout<<" "<<"1";}else{ cout<<" "<<"0";} if((x%2==0 and !(x>4 and x<=12))or (x%2!=0 and x>4 and x<=12)){ cout<<" "<<"1";}else{ cout<<" "<<"0";} if(x%2!=0 and !(x>4 and x<=12)){ cout<<" "<<"1";}else{ cout<<" "<<"0";} return 0; }
信息
- ID
- 617
- 时间
- 1000ms
- 内存
- 125MiB
- 难度
- 4
- 标签
- (无)
- 递交数
- 369
- 已通过
- 164
- 上传者