You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the Clone trait for LazySegtree.
Since both MapMonoid::F and <F::M as Monoid>::S have the Clone constraint, it can be derived.
Additionally, LazySegtree already has a Debug implementation, but there is a comment saying // TODO is it useful? .
It may be necessary to discuss whether to implement Debug for FenwickTree and Segtree based on this implementation.