#include "Util/chminmax.hpp"
#pragma once /** * @brief chmin(), chmax() */ template <class T, class U> inline bool chmin(T& a, const U& b) { return b < a && (a = b, true); } template <class T, class U> inline bool chmax(T& a, const U& b) { return b > a && (a = b, true); }
#line 2 "Util/chminmax.hpp" /** * @brief chmin(), chmax() */ template <class T, class U> inline bool chmin(T& a, const U& b) { return b < a && (a = b, true); } template <class T, class U> inline bool chmax(T& a, const U& b) { return b > a && (a = b, true); }