Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

You have flask A, which holds 19 ounces, and flask B, which

holds 12 ounces. Using only the operations of filling a flask, emptying a

flask, and pouring one flask into another (until either the first is

empty or the second is full), you must manage to put exactly 16 ounces of

water in flask A, leaving flask B empty.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

there may be a more efficient way but this works (I think)


	        A	B

Start	        0	0

Fill B	        0	12

B into A	12	0

Fill B	        12	12

B into A	19	5

Empty A	        0	5

B into A	5	0

Fill B	        5	12

B into A	17	0

Fill B	        17	12

B into A	19	10

Empty A	        0	10

B into A	10	0

Fill B	        10	12

B into A	19	3

Empty A	        0	3

B into A	3	0

Fill B	        3	12

B into A	15	0

Fill B	        15	12

B into A	19	8

Empty A    	0	8

B into A	8	0

Fill B  	8	12

B into A	19	1

Empty A 	0	1

B into A	1	0

Fill B  	1	12

B into A	13	0

Fill B  	13	12

B into A	19	6

Empty A  	0	6

B into A	6	0

Fill B  	6	12

B into A	18	0

Fill B  	18	12

B into A	19	11

Empty A  	0	11

B into A	11	0

Fill B  	11	12

B into A	19	4

Empty A 	0	4

B into A	4	0

Fill B  	4	12

B into A	16	0


Link to comment
Share on other sites

  • 0

You have flask A, which holds 19 ounces, and flask B, which

holds 12 ounces. Using only the operations of filling a flask, emptying a

flask, and pouring one flask into another (until either the first is

empty or the second is full), you must manage to put exactly 16 ounces of

water in flask A, leaving flask B empty.

i am too lazy to type, so

19 , 0

7 , 12

7 , 0

0 , 7

19 , 7

14 , 12

14 , 0

2 , 12

2 , 0

0 , 2

19 , 2

9 , 12

9 , 0

0 , 9

19 , 9

16 , 12

16 , 0

Edited by dark_magician_92
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...