library

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

View the Project on GitHub sash2104/library

:heavy_check_mark: atcoder/segtree/add.hpp

Verified with

Code

#pragma once

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

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

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

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