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

Home > Algorithms
Tank draining (Posted on 2013-10-14) Difficulty: 3 of 5
We have 16 tanks in a 4x4 grid.
|1 |2 |3 |4 |
|5 |6 |7 |8 |
|9 |10|11|12|
All the tanks are empty, except the first one, which is filled. We'd like to drain it. If you drain the water outside of the tank system, certain baby animals will be very sad, but draining the water from one tank to another is alright.

There is a door between each pair of adjacent tanks (but no diagonal connections). If you open the door between two tanks, the water levels will instantaneously equalize. What's the most you can drain out of the first tank?

See The Solution Submitted by Tristan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts more complex than it seems at first glance | Comment 1 of 6

Initially, while this was still in the queue, I thought the answer would be 15/16, if all the tanks were allowed to equalize.

It took a while for me to realize that, just to take one simple method, half the water could be let out into tank 2 and then that tank sealed. Then 14/15 of the remaining half could be drained into the remaining 14 tanks, leaving 1/30 of the original water in tank 1, meaning that 29/30 had been drained.

Similarly 2/3 of the water could go into tanks 2 and 3, etc. Or some more complicated scheme might be devised to allow more water to drain out of tank 1.

  Posted by Charlie on 2013-10-14 17:29:43
Please log in:
Remember me:
Sign up! | Forgot password

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

Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information