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
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
直接就上代码了:-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
本文出自:http://blog.csdn.net/svitter/
题意:三种苹果,每种都有对应的Size,Value,给你一个背包空间,求最大的价值。
本题目的关键就在于非常大的背包空间
依据indicates the size (1 <=
100) 我们可以考虑在1000000(100^3)之外的空间放性价比最高的苹果。为什么时100^3?
要知道背包如果正好填满,而填满...
分类:
移动开发 时间:
2014-04-29 13:27:21
阅读次数:
436
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