SPOJ problem GCPC11J

Revision en1, by invincibel31, 2019-08-01 13:11:53

it is the problem from spoj i am trying to find diameter/2 of a graph using bfs approach and it is giving me wrong answer can someone help me with the code.here is the link of my code: https://ide.codingblocks.com/s/111962

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English invincibel31 2019-08-01 13:11:53 245 Initial revision (published)