水题
文章平均质量分 63
czdb
这个作者很懒,什么都没留下…
展开
-
HDU - 2710 Max Factor
To improve the organization of his farm, Farmer John labels each of his N (1 <= N <= 5,000) cows with a distinct serial number in the range 1..20,000. Unfortunately, he is unaware that the cows interp原创 2016-12-14 14:12:36 · 202 阅读 · 0 评论 -
开机 CSU - 1254
机房有很多机器,不同机器开机时间不同。已知开始站在1号机器,从一台机器走到另一台机器需要5秒,如何才能用最短的时间打开所有的机器。 Input 每组数据开头一个n表示机器数,接下来n个数表示1~n号机器所需开机时间,以秒为单位。0 Output 每组数据输出一行一个数,表示所有机器打开所需最短时间。 Sample Input 3 35 10 30 Sample原创 2016-12-17 16:11:25 · 271 阅读 · 0 评论 -
Saitama Destroys Hotel CodeForces - 608A
Saitama accidentally destroyed a hotel again. To repay the hotel company, Genos has volunteered to operate an elevator in one of its other hotels. The elevator is special — it starts on the top floor,原创 2016-12-15 16:28:58 · 372 阅读 · 0 评论 -
Berland National Library CodeForces - 567B
Berland National Library has recently been built in the capital of Berland. In addition, in the library you can take any of the collected works of Berland leaders, the library has a reading room. To原创 2016-12-18 17:20:04 · 271 阅读 · 0 评论