Segment Tree way to do this

Правка en1, от Virtual_Contestant, 2020-09-13 21:59:28

This is a simple question where we can easily solve without the segment trees by just opening mods. Can anyone tell the segment tree way to do this. I am pretty excited to know the solution using segment trees.

https://atcoder.jp/contests/abc178/tasks/abc178_e

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Virtual_Contestant 2020-09-13 21:59:28 293 Initial revision (published)