CSES — Hotel Queries

Правка en2, от __abs, 2022-12-11 11:23:49

Question. I understand how to solve this using Segment Trees.

I saw this solution by pikmike.

Copied here

Can someone explain how this works?

Теги cses, doubt, range query

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский __abs 2022-12-11 11:23:49 55
en1 Английский __abs 2022-12-11 11:23:06 628 Initial revision (published)