'commit'
This commit is contained in:
13
LuoGu/RuMen/P5710.cpp
Normal file
13
LuoGu/RuMen/P5710.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
int x;
|
||||
cin >> x;
|
||||
cout << ((x % 2 == 0) && (x > 4 && x <= 12)) << " ";
|
||||
cout << ((x % 2 == 0) || (x > 4 && x <= 12)) << " ";
|
||||
cout << ((x % 2 == 0) ^ (x > 4 && x <= 12)) << " ";
|
||||
cout << (!(x % 2 == 0) && !(x > 4 && x <= 12)) << " ";
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user