Help in implementation of dynamic connectivity problem

Правка en1, от pk842, 2019-09-10 20:46:33

Hello I recently learned DCP trick. I had tried implementing it but my implementation give WA on DYNACON1 of SPOJ and MLE on CF 100551.

Can someone please suggest what is wrong in the solution or can give any better implementations?

Thanks!

Теги #help, #dcp, #trees

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский pk842 2019-09-10 20:46:33 509 Initial revision (published)