Help Needed in ADDMUL — Codechef

Revision en2, by Prabal08, 2020-08-29 20:04:11

Problem Link

I wanted to understand how to handle addition and multiplication queries simultaneously. Though I read the editorial, I could not understand how to propagate lazy updates to the child nodes.


  Rev. Lang. By When Δ Comment
en2 English Prabal08 2020-08-29 20:04:11 3
en1 English Prabal08 2020-08-29 19:57:18 281 Initial revision (published)