https://codeforces.me/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 ? ↵
↵
![ ](/predownloaded/b1/a4/b1a47b2772be0d9c5c08589e1044e9368658ea2c.png)
↵
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 ? ↵
↵
![ ](/predownloaded/b1/a4/b1a47b2772be0d9c5c08589e1044e9368658ea2c.png)