Pots_POJ_3414
题目链接
题目大意:给两个杯子,和一个目标量,问是否通过那两个杯子互相倒水倒得目标量的水,给三种操作如下:
FILL(i)->fill the pot i (1 ≤ i ≤ 2) from the tap;
DROP(i)-> empty the pot i to the drain;
POUR(i,j)->pour from pot i to pot j; afte...
原创
2018-07-27 10:12:41 ·
264 阅读 ·
0 评论