Jump to content
BrainDen.com - Brain Teasers
  • 0


Guest
 Share

Question

For this challenge, you have flask A, which holds 18 ounces, and flask B, which holds 13 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 17 ounces of water in flask A, leaving flask B empty.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

Fill B A=0 B=13

B to A A=13 B=0

Fill B A=13 B=13

B to A A=18 B=8

Empty A A=0 B=8

B to A A=8 B=0

Fill B A=8 B=13

B to A A=18 B=3

Empty A A=0 B=3

B to A A=3 B=0

Fill B A=3 B=13

B to A A=16 B=0

Fill B A=16 B=13

B to A A=18 B=11

Empty A A=0 B=11

B to A A=11 B=0

B A=11 B=13

B to A A=18 B=6

Empty A A=0 B=6

B to A a=6 b=0

Fill B A=6 B=13

B to A A=18 B=1

Empty A A=0 B=1

B to A A=1 B=0

Fill B A=1 B=13

B to A A=14, B=0

Fill B A=14, B=13

B to A A=18, B =9

Empty A A=0 B=9

B to A A=9 B=0

Fill B A=9 B=13

B to A A=18 B=4

Empty A A=0 B=4

B to A A=4 B=0

Fill B A=4 B=13

B to A A = 17 B=0

Edited by Zweefer
Link to comment
Share on other sites

  • 0

Empty A A B

Start 0 0

Fill B 0 13

B into A 13 0

Fill B 13 13

B into A 18 8

Empty A 0 8

B into A 8 0

Fill B 8 13

B into A 18 3

Empty A 0 3

B into A 3 0

Fill B 3 13

A into B 16 0

Fill B 16 13

B into A 18 11

Empty A 0 11

B into A 11 0

Fill B 11 13

B into A 18 6

Empty A 0 6

B into A 6 0

Fill B 6 13

B into A 18 1

Empty A 0 1

B into A 1 0

Fill B 1 13

B into A 14 0

Fill B 14 13

B into A 18 9

Empty A 0 9

B into A 9 0

Fill B 9 13

B into A 18 4

Empty A 0 4

B into A 4 0

Fill B 4 13

B into A 17 0

By george i think i got it.

Link to comment
Share on other sites

  • 0

For this challenge, you have flask A, which holds 18 ounces, and flask B, which holds 13 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 17 ounces of water in flask A, leaving flask B empty.

too lazy again

i am too lazy to type, so again

18,0

5,13

5,0

0,5

18,5

10,13

10,0

0,10

18,10

15,13

15,0

2,13

2,0

0,2

18,2

7,13

7,0

0,7

18,7

12,13,

12,0

0,12

18,12

17,13

17,0

Link to comment
Share on other sites

  • 0

too lazy again

i am too lazy to type, so again

18,0

5,13

5,0

0,5

18,5

10,13

10,0

0,10

18,10

15,13

15,0

2,13

2,0

0,2

18,2

7,13

7,0

0,7

18,7

12,13,

12,0

0,12

18,12

17,13

17,0

Haha, right is right no matter how you get there. Good job!

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...