1. Standard memberwittywonka
    Chocolate Expert
    Cocoa Mountains
    Joined
    26 Nov '06
    Moves
    19249
    16 Mar '07 23:31
    Using only a jug that can hold 5 gallons of water and another jug that can hold 3 gallons of water, how can you come up with EXACTLY 4 gallons of water?

    Note: This problem comes from the movie Die Hard With a Vengance.
  2. Joined
    14 Feb '07
    Moves
    1422
    16 Mar '07 23:38
    Pour the 3 into the 5.
    Fill it up again then pour 2 gallons inot the 5 leaving 1 in the 3.
    Throw away the water in the 5, then add the remaining water from the 3 (1gallon), fill the 3 again and add that too:
    You have 4 gallons in the 5
  3. B is for bye bye
    Joined
    09 Apr '06
    Moves
    27526
    17 Mar '07 12:40
    Fill the five, and pour three out. Dump the three. Pour the remaining 2 into the three. Fill the five, pour out 1 filling the 3.

    Now you have 4 in the 5 and 3 in the 3.
  4. Sigulda, Latvia
    Joined
    30 Aug '06
    Moves
    4048
    19 Mar '07 14:401 edit
    How can you dump exactly three? Your solution isn't very precise. Take a look above your post.

    EDIT: Sorry, my mistake. I thought that your idea is to pour those 3 gallons out of the 5 gallon jug.
  5. B is for bye bye
    Joined
    09 Apr '06
    Moves
    27526
    20 Mar '07 01:51
    Originally posted by kbaumen
    How can you dump exactly three? Your solution isn't very precise. Take a look above your post.

    EDIT: Sorry, my mistake. I thought that your idea is to pour those 3 gallons out of the 5 gallon jug.
    The idea is to pour 3 gallons out of the 5 gallon jug, but to measure, you pour into the 3 gallon jug. Hence the next line, where the 3 gallons is dumped.
  6. Joined
    21 Feb '06
    Moves
    6830
    20 Mar '07 12:061 edit
    I don't think I could even lift a 5 gallon jug of water.

    [edit: I tried doing a Google image search for "big jugs" but I couldn't find anything to help with the problem]
  7. Joined
    20 Mar '07
    Moves
    2590
    20 Mar '07 19:29
    Originally posted by Fat Lady
    I don't think I could even lift a 5 gallon jug of water.

    [edit: I tried doing a Google image search for "big jugs" but I couldn't find anything to help with the problem]
    Hmmm. I wonder why.
Back to Top

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.I Agree