摘要:
Problem DescriptionYou are given two pots, having the volume ofAandBliters respectively. The following operations can be performed:FILL(i) fill the poti(1 ≤i≤ 2) from the tap;DROP(i) empty the potito the drain;POUR(i,j) pour from potito potj; after this operation either the potjis full (and there ma 阅读全文
posted @ 2013-10-12 12:46
persistent codeants
阅读(248)
评论(0)
推荐(0)
摘要:
DescriptionEverybody is fond of computers, but buying a new one is always a money challenge. Fortunately, there is always a convenient way to deal with. You can replace your computer and get a brand new one, thus saving some maintenance cost. Of course, you must pay a fixed cost for each new compute 阅读全文
posted @ 2013-10-12 10:48
persistent codeants
阅读(285)
评论(0)
推荐(0)
摘要:
DescriptionDearboy was so busy recently that now he has piles of clothes to wash. Luckily, he has a beautiful and hard-working girlfriend to help him. The clothes are in varieties of colors but each piece of them can be seen as of only one color. In order to prevent the clothes from getting dyed in 阅读全文
posted @ 2013-10-12 09:21
persistent codeants
阅读(187)
评论(0)
推荐(0)

浙公网安备 33010602011771号