У нас вы можете посмотреть бесплатно Hybrid Tutorial #-2: Centroid Decomposition или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Blog (codeforces): https://codeforces.com/blog/entry/81661 (updated, previous link didn't work) Blog (codechef): https://discuss.codechef.com/t/hybrid... I (try to) explain centroid decomposition. Somehow it ends up over an hour long. I'll break this up into many timestamps so you can get the information you need from it. Intro 00:00 Example problem 02:04 Prerequisite 05:16 Reformulating the problem 06:06 Reformulating updates 08:14 Reformulating queries 15:29 Questioning my life choices 20:41 Centroids 20:57 The "centroid tree" - definition and construction 30:09 Centroid tree property - height 35:42 Centroid tree property - connectivity of subtrees 37:11 Returning to the problem 39:52 Implementation 53:22 Computing distance with LCA 56:42 Outro 1:02:43