Magical park piyush

https://ide.codingblocks.com/s/51376
one test case not working

Hey Aastha, your code is not working for the cases when Piyush can’t escape. for eg. check your code for this one

input:

4 4 5 10
. . . .
. # . .
* * * *
* # * *

your code’s output :
Yes
17

but the expected output is
No