Question on AtCoder Library LazySegTree

Revision en1, by hliu1alt, 2022-04-19 22:42:29

I've been trying to use the ACL lazy segtree (source code here) to solve the following CSES problem.

Is it possible through purely the template API? Or do I need to modify the internal implementation a bit. If it is possible, can anyone provide some hints on what values I need to be storing in S and what I need to pass around in F?

Thanks in advance!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English hliu1alt 2022-04-19 22:42:29 584 Initial revision (published)