All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General > Tricks
Out of gas. (Posted on 2007-09-22) Difficulty: 2 of 5
A man runs his car out of gas thereby completely emptying his 16 gallon tank. He only has a 3, a 6, and a 11 gallon container (and fortunately a wagon to carry the containers in) in his trunk. He has nothing else in which he can carry gas. He walks a few miles to a gas station, and as luck would have it the gauge on the pump is broken so he can not use that to measure the fuel. He is in a pretty remote area with only one gas station for miles. Gas costs $3.099, and he only has a $50. Using only the containers provided, and only walking once to and from the gas station, how can he get exactly 16 gallons of gas into his car?

See The Solution Submitted by jduval    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution | Comment 1 of 29

Fill 11g from pump.  --> 11g (11), 6g (0), 3g (0)

Fill 6g and 3g from 11g.  --> 11g (2), 6g (6), 3g (3)

Pour 3g into wagon.  --> w (3), 11g (2), 6g (6), 3g (0)

Pour 11g into 3g.  --> w (3), 11g (0), 6g (6), 3g (2)

Fill 3g from pump.  --> w (3), 11g (0), 6g (6), 3g (3)

Pour 6g and 3g into 11g.  --> w (3), 11g (9), 6g (0), 3g (0)

Fill 11g from wagon.  --> w (1), 11g (11), 6g (0), 3g (0)

Fill 6g and 3g from 11g.  --> w (1), 11g (2), 6g (6), 3g (3)

Pour 3g into wagon.  --> w (4), 11g (2), 6g (6), 3g (0)

Pour 11g into 3g.  --> w (4), 11g (0), 6g (6), 3g (2)

Fill 3g from pump.  --> w (4), 11g (0), 6g (6), 3g (3)

Pour wagon and 3g into 11g.  --> w (0), 11g (7), 6g (6), 3g (0)

Fill 3g from pump.  --> w (0), 11g (7), 6g (6), 3g (3)

Take the containers with a total of 16 gallons of gas back to the car using the wagon.

One trip, exactly 16 gallons.  The trick here is using the wagon to hold gas.

Edited on September 22, 2007, 4:18 pm

Edited on September 22, 2007, 4:27 pm
  Posted by Guest on 2007-09-22 16:17:44

Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (6)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information