How to Remove an Index from a Disjoint Union Set Graph and Its Subtrees

Правка en2, от anirudhmittal21k12k, 2023-06-10 17:00:37

I am not able to find a blog or video which would describe how to delete an index and all its children while doing problem http://www.usaco.org/index.php?page=viewproblem2&cpid=644 . I really wanted a dsu solution. Here my implementation just have to implement delink function correctly please help. Here my submission link https://ide.usaco.guide/NX__5jD-hKhlahQ_iks

Теги dsu, usaco

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский anirudhmittal21k12k 2023-06-10 17:00:37 45 Tiny change: 'Here my suubmisstion link h' -> 'Here my submission link h'
en1 Английский anirudhmittal21k12k 2023-06-10 16:54:32 447 Initial revision (published)