Help Needed in ADDMUL — Codechef

Правка en2, от Prabal08, 2020-08-29 20:04:11

Problem Link https://www.codechef.com/problems/ADDMUL

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. Язык Кто Когда Δ Комментарий
en2 Английский Prabal08 2020-08-29 20:04:11 3
en1 Английский Prabal08 2020-08-29 19:57:18 281 Initial revision (published)