A man's car runs out of gasoline. His car tank holds exactly 13 gallons. He has three empty unmarked containers which can hold 3 gallons, 6 gallons, and 11 gallons. Using only these containers at the gas station, how can the man bring back exactly 13 gallons?
(He is not allowed to buy over 13 gallons and dispose of the extra.)
(In reply to
re: 12, 14 but no 13 by saprom)
Perhaps Saprom should reconsider how hard the problem is given that you can only purchase 13 gallons total. Filling the 11 gallon container from empty twice is not allowed.