5730脑筋急转弯困难brainteaserlong
Splitting Eight Units with Three Jugs
题目
You have three unmarked jugs with capacities 8, 5, and 3 units. The 8-unit jug starts completely full and the other two are empty; there is no other water source and no drain (water may only be poured between jugs). A pour transfers from one jug to another until the source is empty or the destination is full, and counts as one operation. What is the minimum number of pours needed to end with exactly 4 units in the 8-jug and 4 units in the 5-jug?
解题计时
0:00
提交作答时记录,用于后续平均用时统计。
你的答案