Library

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

View the Project on GitHub noshi91/Library

:heavy_check_mark: other/multiplies_monoid.cpp

Verified with

Code

template <class T> class multiplies_monoid {
public:
  using value_type = T;
  static constexpr T operation(const T &l, const T &r) noexcept {
    return l * r;
  }
  static constexpr T identity = 1;
};
#line 1 "other/multiplies_monoid.cpp"
template <class T> class multiplies_monoid {
public:
  using value_type = T;
  static constexpr T operation(const T &l, const T &r) noexcept {
    return l * r;
  }
  static constexpr T identity = 1;
};
Back to top page