Can someone explain this solution ?

Revision en6, by thehumbleguy, 2018-12-28 08:54:19

Codeforces.com/gym/101908/problem/L Can anyone explain how and why this logic works

 .

Tags lca, tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English thehumbleguy 2018-12-28 08:54:19 46
en5 English thehumbleguy 2018-12-28 08:40:57 4
en4 English thehumbleguy 2018-12-28 06:25:45 2 Tiny change: 'roblem/L) can anyone ' -> 'roblem/L) Can anyone '
en3 English thehumbleguy 2018-12-27 17:29:48 75
en2 English thehumbleguy 2018-12-27 17:24:30 46
en1 English thehumbleguy 2018-12-27 17:22:42 118 Initial revision (published)