library

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

View the Project on GitHub sash2104/library

:heavy_check_mark: atcoder/segtree/min.hpp

Verified with

Code

#pragma once

#include <atcoder/segtree>
#include <limits>

namespace segtree {
namespace min {
template<typename S>
S op(S a, S b) { return std::min(a, b); }
template<typename S>
S e() { return std::numeric_limits<S>::max();}
template<typename S>
using type = atcoder::segtree<S, op, e>;
} // namespace min
} // namespace segtree
#line 2 "atcoder/segtree/min.hpp"

#include <atcoder/segtree>
#include <limits>

namespace segtree {
namespace min {
template<typename S>
S op(S a, S b) { return std::min(a, b); }
template<typename S>
S e() { return std::numeric_limits<S>::max();}
template<typename S>
using type = atcoder::segtree<S, op, e>;
} // namespace min
} // namespace segtree
Back to top page