Question on AtCoder Library LazySegTree

Правка en1, от 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!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский hliu1alt 2022-04-19 22:42:29 584 Initial revision (published)