SQRT Decomposition
Problems on SQRT decomposition, including splitting an array into blocks of size \sqrt{n}, range updates and queries by blocks, Mo's algorithm for offline queries, and splitting work between heavy and light elements.
Related problem sets are under Queries, Segment tree and Range queries.
Problemas
Circles#5959
Muy difícil (≈2050)
Cossack Vus and the Count#11076
Muy difícil (≈2050)
No legend#11514
Muy difícil (≈2050)
Boring tree queries#11544
Muy difícil (≈2050)
Lamps#11692
Media (≈1350)
Viaje en tranvía#11775
Difícil (≈1650)
Lanzamientos de granadas de Valera#12198
Difícil (1850)
Buen anfitrión#12266
Muy difícil (1800)
MOAGEZA está cocinando#12283
Difícil (1800)
Kaosar y EM ( > w < )#12365
Media (1600)
¡Oh, no, ordenación!#12371
Muy difícil (2150)
AND = OR#12842
Muy difícil (≈2050)