码迷,mamicode.com
首页 >  
搜索关键字:delicious apples    ( 175个结果
[2012山东ACM省赛] Pick apples (贪心,全然背包,枚举)
Pick applesTime Limit: 1000MS Memory limit: 165536K题目描写叙述Once ago, there is a mystery yard which only produces three kinds of apples. The number of ea...
分类:移动开发   时间:2014-05-26 00:24:52    阅读次数:443
codechef Arranging Cup-cakes题解
Arranging Cup-cakes Our Chef is catering for a big corporate office party and is busy preparing different mouth watering dishes. The host has insisted that he serves his delicious cupcakes for de...
分类:其他好文   时间:2014-05-07 12:34:21    阅读次数:396
Erlang练习题----shopping
直接就上代码了:-module(shop).-export([cost/1,total/1]).cost(orange) -> 5;cost(newspaper) -> 8;cost(apples) -> 2;cost(pears) -> 9;cost(milk) -> 7....
分类:其他好文   时间:2014-05-02 12:58:19    阅读次数:280
sdut2408 pick apples (贪心+背包)山东省第三届ACM省赛
本文出自:http://blog.csdn.net/svitter/ 题意:三种苹果,每种都有对应的Size,Value,给你一个背包空间,求最大的价值。 本题目的关键就在于非常大的背包空间 依据indicates the size (1 <= 100) 我们可以考虑在1000000(100^3)之外的空间放性价比最高的苹果。为什么时100^3? 要知道背包如果正好填满,而填满...
分类:移动开发   时间:2014-04-29 13:27:21    阅读次数:436
[2012山东ACM省赛] Pick apples (贪心,完全背包,枚举)
Pick apples Time Limit: 1000MS Memory limit: 165536K 题目描述 Once ago, there is a mystery yard which only produces three kinds of apples. The number of each kind is infinite. A girl carrying a...
分类:移动开发   时间:2014-04-29 13:18:22    阅读次数:489
175条   上一页 1 ... 16 17 18
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!