- 龙凤苑中学B班4.25
666
- @ 2024-4-25 17:48:55
#include <bits/stdc++.h> using namespace std; int a,b,c,ma=-1111111111,s; int main() { cin>>a; if(a%2==0&&a>4&&a<=12){//A cout<<"1"<<" "; } else{ cout<<"0"<<" "; }
if(a%2==0||(a>4&&a<=12)){//uim
cout<<"1"<<" ";
}
else{
cout<<"0"<<" ";
}
if(a%2==0^(a>4&&a<=12)){//B
cout<<"1"<<" ";
}
else{
cout<<"0"<<" ";
}
if(a%2!=0&&(a<4||a>12)){//m
cout<<"1"<<" ";
}
else{
cout<<"0"<<" ";
}
return 0;
}
0 comments
No comments so far...