CP-Library

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub joji0/CP-Library

:warning: monoid/Min.hpp

Code

#pragma once
#include <algorithm>
#include <cstdint>
#include <limits>

template <typename T = int64_t>
struct Min {
        using value_type = T;
        static value_type e() { return std::numeric_limits<T>::max(); }
        static value_type op(value_type a, value_type b) { return std::min(a, b); }
};
#line 2 "monoid/Min.hpp"
#include <algorithm>
#include <cstdint>
#include <limits>

template <typename T = int64_t>
struct Min {
        using value_type = T;
        static value_type e() { return std::numeric_limits<T>::max(); }
        static value_type op(value_type a, value_type b) { return std::min(a, b); }
};
Back to top page