This documentation is automatically generated by online-judge-tools/verification-helper
View the Project on GitHub ningenMe/compro-library
/* * @title AbelPrefixSumPointAdd * @docs md/operator/abel/AbelPrefixSumPointAdd.md */ template<class T> struct AbelPrefixSumPointAdd { using TypeNode = T; inline static constexpr TypeNode unit_node = 0; inline static constexpr TypeNode func_fold(const TypeNode& l,const TypeNode& r){return l+r;} inline static constexpr TypeNode func_fold_inv(const TypeNode& l,const TypeNode& r){return l-r;} };
#line 1 "lib/99-operator/abel/AbelPrefixSumPointAdd.cpp" /* * @title AbelPrefixSumPointAdd * @docs md/operator/abel/AbelPrefixSumPointAdd.md */ template<class T> struct AbelPrefixSumPointAdd { using TypeNode = T; inline static constexpr TypeNode unit_node = 0; inline static constexpr TypeNode func_fold(const TypeNode& l,const TypeNode& r){return l+r;} inline static constexpr TypeNode func_fold_inv(const TypeNode& l,const TypeNode& r){return l-r;} };