Pots bfs()记录每一种状态,直到求出最优值

Problem Description You are given two pots, having the volume of A and B liters respectively. The following operations can be performed:html FILL(i)        fill the pot i (1 ≤ i ≤ 2) from the tap; DRO
相关文章
相关标签/搜索