Comments

did anyone solve G with bfs ? i got stuck in test 40 . any idea why i'm getting wrong answer ? 183283417

okay thanks

okay thanks

i did use bfs and my solution was hacked could you please explain what went wrong ? 153191941 . after the contest i submitted the same solution and i got accepted 153232889

i don't know why my solution was hacked problem B 153191941 after the contest i submitted the same solution and i got accepted . 153232889 can someone help me understand why