Please tell where am i wrong ,below is my code! https://ide.codingblocks.com/s/315501
Program relaed to help ramu
hi anisha,
Your logic is correct.
In code after calculating cost of rickshaw and cab u have to take minimum of ans1 and c3,instead you were taking minimum of ans2 and c4.
same is case with cab.
I have marked those points in the above code.
Please let me know if you need any other help.
i m still getting the same output!please help
hi anisha,
you are doing a very minor mistake in taking the input.
Please let me know if you need any other help.
yeah its working fine now but test case 0 is not getting passed other cases are getting passed why?
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.