MY CODE URL IS:-https://ide.codingblocks.com/s/584481
PLZ RECTIFY IT.
PLZ CORRECT MY CODE AS IT IS PASSING ONLY TWO TEST CASES
if you aren’t able to travel through the whole grid, then you have to print No in that case. You are not doing that, that’s why you are failing 2 test cases.
sir can you plz correct my code
because i am not getting how to do
do just this
if(success){
cout<<"Yes"<<endl<<S<<endl;
}
else{
cout<<"No"<<endl;
}
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.