# Water Jugs (10, 5 and 6) -v2- [duplicate]

I have three water jugs, one with 10 liters another with 5 and another with 6, how do i get 8 liters on the first one with 10 liters of water available. (so you cannot fill 10 liters jug again)

• doable with only 8L initially, see puzzling.stackexchange.com/questions/25896/… Jan 29, 2016 at 15:34
• @njzk2 If you start with 8L in the 10L jug and you want to end up with 8L in the 10L jug (as this question's constraints require), isn't this just the null operation? Jan 30, 2016 at 14:27
• @AE In this puzzle, you start with a full 10L jug but can't get more water. The question you linked to had an infinitely large tub from which you could draw. Jan 30, 2016 at 14:29
• @Lawrence haha, yes. But no, my answer does not require that you know how much water you have, but it does use exactly 8L Jan 30, 2016 at 18:15

10L jug - 5L jug  - 6L jug
10      -    0    -    0
4       -    0    -    6
4       -    5    -    1
9       -    0    -    1
9       -    1    -    0
3       -    1    -    6
3       -    5    -    2
8       -    0    -    2

• Exactly this was what I was about to post. Jan 29, 2016 at 12:08

Legend: 10l jug / 5l jug / 6l jug