Help needed in LABYR1 spoj problem
Difference between en1 and en2, changed 1 character(s)
I was solving LABYR1 spoj problem [LINK](http://www.spoj.com/problems/LABYR1/) and the problem reduced to finding diameter of tree.  But when I submitted it is constantly giving WA.  Any help will be appreciated. [LINK OF MY CODE].(http://ideone.com/F8oVbe)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English samurai123 2017-01-08 18:45:31 1 Tiny change: 'F MY CODE].(http://id' -> 'F MY CODE](http://id'
en1 English samurai123 2017-01-08 16:44:24 291 Initial revision (published)