library

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

View the Project on GitHub maspypy/library

:heavy_check_mark: alg/monoid/or.hpp

Verified with

Code

template <typename X>
struct Monoid_Or {
  using value_type = X;
  static X op(X x, X y) { return x | y; }
  static constexpr X id(){return X(0);};
  static constexpr bool commute = true;
};
#line 1 "alg/monoid/or.hpp"

template <typename X>
struct Monoid_Or {
  using value_type = X;
  static X op(X x, X y) { return x | y; }
  static constexpr X id(){return X(0);};
  static constexpr bool commute = true;
};
Back to top page