Dave got a job as junior programmer in a food delivery company. He implements the binary search to find out the cost of the order, but something goes wrong, so buyers received incorrect bills.
Help Dave to correct a mistake in the code!
Dave got a job as junior programmer in a food delivery company. He implements the binary search to find out the cost of the order, but something goes wrong, so buyers received incorrect bills.
Help Dave to correct a mistake in the code!
Sample Input 1:
Coca Cola 1l.Sample Output 1:
3$Create a free account to access the full topic