misc improvements
This commit is contained in:
parent
52068dbf9a
commit
3df2a85ddc
3 changed files with 7 additions and 7 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include <bits/stdc++.h> // {{{
|
||||
#include <bits/stdc++.h> // {{{
|
||||
|
||||
#include <version>
|
||||
#ifdef __cpp_lib_ranges_enumerate
|
||||
|
|
@ -22,11 +22,9 @@ using f64 = double;
|
|||
using f128 = long double;
|
||||
|
||||
#if __cplusplus >= 202002L
|
||||
template <typename T>
|
||||
constexpr T MIN = std::numeric_limits<T>::min();
|
||||
template <typename T> constexpr T MIN = std::numeric_limits<T>::min();
|
||||
|
||||
template <typename T>
|
||||
constexpr T MAX = std::numeric_limits<T>::max();
|
||||
template <typename T> constexpr T MAX = std::numeric_limits<T>::max();
|
||||
#endif
|
||||
|
||||
#ifdef LOCAL
|
||||
|
|
@ -41,10 +39,10 @@ constexpr T MAX = std::numeric_limits<T>::max();
|
|||
void solve() {
|
||||
u32 n;
|
||||
cin >> n;
|
||||
println("{}", n == 3 ? 0 : 1);
|
||||
println("{}", u32((n % 4 % 3) > 0));
|
||||
}
|
||||
|
||||
int main() { // {{{
|
||||
int main() { // {{{
|
||||
std::cin.exceptions(std::cin.failbit);
|
||||
#ifdef LOCAL
|
||||
std::cerr.rdbuf(std::cout.rdbuf());
|
||||
|
|
|
|||
1
codeforces/531/io/1102a.4.cpin
Normal file
1
codeforces/531/io/1102a.4.cpin
Normal file
|
|
@ -0,0 +1 @@
|
|||
4
|
||||
1
codeforces/531/io/1102a.4.cpout
Normal file
1
codeforces/531/io/1102a.4.cpout
Normal file
|
|
@ -0,0 +1 @@
|
|||
0
|
||||
Loading…
Add table
Add a link
Reference in a new issue