This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub toyama1710/cpp_library
#include "data_type/max_monoid.hpp"
#ifndef MAX_MONOID_HPP #define MAX_MONOID_HPP #include <algorithm> #include <limits> #include <numeric> //=== template <class T> struct MinMonoid { using value_type = T; inline static T identity() { return std::numeric_limits<T>::min(); }; inline static T operation(const T a, const T b) { return std::max(a, b); }; }; //=== #endif
#line 1 "data_type/max_monoid.hpp" #include <algorithm> #include <limits> #include <numeric> //=== template <class T> struct MinMonoid { using value_type = T; inline static T identity() { return std::numeric_limits<T>::min(); }; inline static T operation(const T a, const T b) { return std::max(a, b); }; }; //===