虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

wooden

  • zju 1025 wooden Sticks http://acm.zju.edu.cn/show_problem.php?pid=1025

    zju 1025 wooden Sticks http://acm.zju.edu.cn/show_problem.php?pid=1025

    标签: 1025 show_problem zju wooden

    上传时间: 2015-10-13

    上传用户:jyycc

  • acm HDOJ 1051woodenSticks Description: There is a pile of n wooden sticks. The length and weight o

    acm HDOJ 1051woodenSticks Description: There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing a stick. The setup times are associated with cleaning operations and changing tools and shapes in the machine. The setup times of the woodworking machine are given as follows: (a) The setup time for the first wooden stick is 1 minute. (b) Right after processing a stick of length l and weight w , the machine will need no setup time for a stick of length l and weight w if l<=l and w<=w . Otherwise, it will need 1 minute for setup.

    标签: woodenSticks Description length wooden

    上传时间: 2014-03-08

    上传用户:netwolf

  • 两种解决方案 Richard just finished building his new house. Now the only thing the house misses is a cute l

    两种解决方案 Richard just finished building his new house. Now the only thing the house misses is a cute little wooden fence. He had no idea how to make a wooden fence, so he decided to order one. Somehow he got his hands on the ACME Fence Catalogue 2002, the ultimate resource on cute little wooden fences. After reading its preface he already knew, what makes a little wooden fence cute. A wooden fence consists of N wooden planks, placed vertically in a row next to each other. A fence looks cute if and only if the following conditions are met: ?The planks have different lengths, namely 1, 2, . . . , N plank length units. ?Each plank with two neighbors is either larger than each of its neighbors or smaller than each of them. (Note that this makes the top of the fence alternately rise and fall.)

    标签: house the finished building

    上传时间: 2014-01-26

    上传用户:541657925