Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
To minimize the amount of time needed, you want to fill up as many cups as possible in each second. This means that you want to maximize the number of seconds where you are filling up two cups.
You always want to fill up the two types of water with the most unfilled cups.