http://poj.org/problem?id=3414题意:给你两个容量为a,b的杯子;有3个操作:1:FILL(i);把第i个杯子从水库中装满;2:DROP(i);把第i个杯子清空;3:POUR(i,j);把第i个杯子的水移入到j中,直到第i个杯子空了或者第j个杯子满了为止;分析:本题和上篇... Read More
posted @ 2015-05-24 16:33 西瓜不懂柠檬的酸 Views(305) Comments(0) Diggs(0)
levels of contents