https://www.codechef.com/viewsolution/33219186

Code is partially correct please tell me the problem to help you i have commented some statement to understand the program please the solution.

https://www.codechef.com/viewsolution/33219186

Code is partially correct please tell me the problem to help you i have commented some statement to understand the program please the solution.

What if more than one fruit doesnâ€™t exist

1 Like

thanks buddy, I understand the problem.

The prices can be 0

when the price of the fruit is 0 it can be possible as the given fruit can have price of 0 then the lowest price will be 0.

what is the problem in my solution. Can anyone plz help?

https://www.codechef.com/viewsolution/33274537

thanks, man I got that