misc improvements

This commit is contained in:
Barrett Ruth 2025-12-04 20:06:48 -05:00
parent 52068dbf9a
commit 3df2a85ddc
3 changed files with 7 additions and 7 deletions

View file

@ -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,7 +39,7 @@ 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() { // {{{

View file

@ -0,0 +1 @@
4

View file

@ -0,0 +1 @@
0