Problem involving segment tree with offline queries

Revision en1, by orlon., 2018-04-04 15:32:45

I was trying out segment tree problems and had some confusions in understanding the solutions for problems involving segment tree with offline queries.

Here are two problems GQR and 301D - Yaroslav and Divisors, for which I was referring to solutions GQR_AC and 36281412 respectively.

If anyone could help me understand these solutions in detail, it would be a great help.

Thanks!

Tags segment tree, offline query

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English orlon. 2018-04-04 15:32:45 540 Initial revision (published)