See if you can give a solution

Revision en4, by najmul.csebuet, 2020-11-11 16:19:33

I am trying to solve following problem.

https://open.kattis.com/problems/uprooted

I am attaching as pdf also.

Any hint and more better a solution is appreciated. I am trying a lot but not solved yet.

My Code

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English najmul.csebuet 2020-11-11 21:49:43 7935
en5 English najmul.csebuet 2020-11-11 16:22:57 51
en4 English najmul.csebuet 2020-11-11 16:19:33 81
en3 English najmul.csebuet 2020-11-11 16:05:23 0 (published)
en2 English najmul.csebuet 2020-11-11 16:04:11 4 (saved to drafts)
en1 English najmul.csebuet 2020-11-11 16:00:44 6154 Initial revision (published)