This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub ttamx/cp-library
#include "group/monoid/max.hpp"
#pragma once /** * Author: Teetat T. * Date: 2024-04-14 * Description: Max Monoid class. */ template<class T> struct MaxMonoid{ using value_type = T; static constexpr T op(const T &x,const T &y){return max(x,y);} static constexpr T unit(){return numeric_limits<T>::min();} };
#line 2 "group/monoid/max.hpp" /** * Author: Teetat T. * Date: 2024-04-14 * Description: Max Monoid class. */ template<class T> struct MaxMonoid{ using value_type = T; static constexpr T op(const T &x,const T &y){return max(x,y);} static constexpr T unit(){return numeric_limits<T>::min();} };