Codeforces functionality may be limited from June 18, 19:00 (UTC) to June 19, 3:00 AM (UTC) due to technical maintenance. Polygon will work as usual. ×

Heavy Light Trick

Revision en1, by Algorithm_, 2021-01-23 15:28:13
Tags #sqrt decomposition

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English Algorithm_ 2021-03-08 21:47:24 228
en3 English Algorithm_ 2021-02-04 22:18:22 55 Tiny change: 'Olymp-1180' -> 'Olymp-1180\n\n3. https://codeforces.com/problemset/problem/1156/D'
en2 English Algorithm_ 2021-01-25 23:21:20 351
en1 English Algorithm_ 2021-01-23 15:28:13 357 Initial revision (published)