Getting a few WAs


here is my code, it is correct but still i am getting wrong answers

hello @Parikalp10
pls read the question carefully .
in this question rat can move in all four directions.
so add appropriate code for the same


this is the best i could do but still not working

check ur updated code-> https://ide.codingblocks.com/s/284791

a)

dont declare them again.
b)
u missed to add this image

this is necessary to avoid cycle

b)

okay thank you, got it.


Can you help me with this problem, it is regarding the rightmost path rat maze but only one test case is passing.

bro create a new thread by raising a new doubt.
i will take that doubt and will help u with ur problem

1 Like