题目描述Youaregiventwopots,havingthevolumeof A and B litersrespectively.Thefollowingoperationscanbeperformed:FILL(i) fillthepot i (1≤ i ≤2)fromthetap;DROP(i) emptythepot i tothedrain;POUR(i,j) pourfrompot i topot j;afterthisoperationeitherthepot j isfull(andtheremaybesomewaterleftinthepot i),orthepot i isempty(andallitscontentshavebeen...
近期评论