This documentation is automatically generated by online-judge-tools/verification-helper
#include "algebra/monoid/monoid_max.hpp"#pragma once
template <class T, T inf> struct MonoidMax {
using value_type = T;
static constexpr T operation(const T& a, const T& b) noexcept {
return std::max(a, b);
}
static constexpr T identity() noexcept { return -inf; }
static constexpr bool commutative = true;
};#line 2 "algebra/monoid/monoid_max.hpp"
template <class T, T inf> struct MonoidMax {
using value_type = T;
static constexpr T operation(const T& a, const T& b) noexcept {
return std::max(a, b);
}
static constexpr T identity() noexcept { return -inf; }
static constexpr bool commutative = true;
};