A big group of students, starting a long journey on different set of vehicles need to fill petrol in their vehicles. As group leader you are required to minimize the time they spend at the petrol pump to start the journey at the earliest. You will be given the quantity of petrol (in litres) that can be filled in each vehicle. There are two petrol vending machines at the petrol pump. You need to arrange the vehicles in such a way that they take shortest possible time to fill all the vehicles and provide the time taken in seconds as output. Machine vends petrol @ 1litre/second.
Answers
Answered by
1
Answer:
okyyyyyyyyyyyyyyy
Explanation:
okyyyyyyyyyyyyyyy
Similar questions
Social Sciences,
4 months ago
Math,
4 months ago
Computer Science,
4 months ago
Physics,
8 months ago
Physics,
11 months ago
English,
11 months ago