You have 3 empty containers: 15, 10 and 6 ounces. You need to end up with 1 ounce of water in 2 of the containers. Containers can be filled from your kitchen water tap! How you do that?
10->6 4 left put in 15 (empty 6) 10->6 4 left put in 15 (8 in 15)(empty 6) 10->6 4 left put in 15 (12 in 15)(empty 6) 10->6 4 left put 3 in 15 (1 in 10)
15->6 9 left in 15 (empty 6) 10->6 (1 in 6) 10->15 (1 in 10)
Did you ever stop to think and then forget to start again?
Sorry Cue: can't "follow" your solution. Each individual step needs to be listed, so we end up also with number of steps. Then the "fun" is whoever gets lowest number of steps wins!
Here's a 10 steps solution:
Code
STEP [15] [10] [6]
1 0 10 0 : fill [10]
2 10 0 0 : [10] to [15]
3 10 0 6 : fill [6]
4 15 0 1 : fill [15] from [6]
5 5 10 1 : fill [10] from [15]
6 0 10 1 : empty [15]
7 10 0 1 : dump [10] in [15]
8 10 1 0 : dump [6] in [10]
9 10 1 6 : fill [6]
10 15 1 1 : fill [15] from [6]
Could you show each of your steps. Sorry, that's the way these darn container puzzles work!