ecpc problem H Find the path

Revision en1, by zeyad.alaaeldin2016, 2020-11-08 12:45:36

https://codeforces.net/gym/101992/problem/H

I was solving this problem by BFS from start node and checking what is the max edge while moving to level K.

https://ideone.com/IcEBeh

I dont know why codeforces sample gives me a lot of zero. while on my codeblocks give me 104 and 7 ... anyone know here is the problem ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English zeyad.alaaeldin2016 2020-11-08 12:56:29 1 Tiny change: 'yone know here is th' -> 'yone know where is th'
en2 English zeyad.alaaeldin2016 2020-11-08 12:47:21 75 Tiny change: 'problem ? ' -> 'problem ? \n\n![ ](https://codeforces.net/966666/pic.png)'
en1 English zeyad.alaaeldin2016 2020-11-08 12:45:36 353 Initial revision (published)