library

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

View the Project on GitHub maspypy/library

:heavy_check_mark: alg/default_prod.hpp

Required by

Verified with

Code

template <class Monoid>
struct DefaultUnitProd {
  using X = typename Monoid::value_type;
  static constexpr bool unit_only = true;
  X operator()(long long, long long) const { return Monoid::unit(); }
};
#line 1 "alg/default_prod.hpp"
template <class Monoid>
struct DefaultUnitProd {
  using X = typename Monoid::value_type;
  static constexpr bool unit_only = true;
  X operator()(long long, long long) const { return Monoid::unit(); }
};
Back to top page