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.
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 ?