SHENZHEN I/O

SHENZHEN I/O

评价数不足
FISH TANKS
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
6.662 KB
1 月 13 日 下午 3:50
1 项改动说明 ( 查看 )

订阅以下载
FISH TANKS

描述
You are the aquarium specialist at the local zoo and are tasked to fill all the new fish tanks that just came in.

Each empty fish tank has its own volume and comes with a set of four pre-filled buckets of different sizes, but there is a problem: sometimes the guys from the fish tank factory packed too many buckets!

Select the right combination of buckets so it matches the volume of the tank and send your output to the Automatic Bucket Emptying Machine, provided by the same manufacturer.
1 条留言
zwippie  [作者] 4 月 11 日 下午 2:14 
In retrospect, I could have made the description sound just a tad bit more like: Hey, here's a subset sum problem for you. :)