earn essential techniques from data warehouse
legend Bill Inmon on how to build the reporting environment your business needs
now!Answers for many val...
分类:
其他好文 时间:
2014-05-27 17:47:41
阅读次数:
361
ExpeditionTime Limit: 1000MSMemory Limit: 65536KDescriptionA group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately manag...
分类:
其他好文 时间:
2014-05-22 06:16:01
阅读次数:
423
题目链接:hdu 4803 Poor Warehouse Keeper
题目大意:有以个屏幕可以显示两个值,一个是数量x,一个是总价y。有两种操作,一种是加一次总价,变成x,x+y;一种是加一个数量,这要的话总价也会相应加上一个的价钱,变成x+1,y+y/x。总价显示的为取整后的整数,小数部分忽略。给定一个目标x,y,初始状态为1,1,求最少需要多少次可以目标状态,不可以达到的话输出-1....
分类:
其他好文 时间:
2014-05-18 18:46:36
阅读次数:
276
http://acm.hdu.edu.cn/showproblem.php?pid=4803
贪心的策略是,每次尽量加价格,加到能满足...
分类:
其他好文 时间:
2014-05-16 01:50:53
阅读次数:
289
题目:BNUOJ 34025 -Poor Warehouse Keeper(贪心)
题目大意:有一个商品的信息表,上面是数量,下面是总价,然后旁边各有一个按钮。上面的数量按钮按一下数量就加1,然后价格对应的也要在加上一个当前的单价。下面的按钮按一下的话,就对应的总价加1.初始状态是 1 1,然后给出终点状态,问能否得到。可以的话输出最少要按几次按钮,否则输出-1;总价每次输出都是下取整。
...
分类:
其他好文 时间:
2014-05-16 01:45:37
阅读次数:
289
Mr. White, a fat man, now is crazy about a game
named ``Dance, Dance, Revolution". But his dance skill is so poor that he could
not dance a dance, eve...
分类:
其他好文 时间:
2014-05-15 16:57:57
阅读次数:
502
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1109
FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean...
分类:
其他好文 时间:
2014-05-11 20:57:36
阅读次数:
400
Mr. Pote's shop sells beans now. He has N bags of beans in his warehouse, and he has numbered them with 1, 2, …, N according to their expired dates. The i-th bag contains Wi units of beans. For sellin...
分类:
其他好文 时间:
2014-05-09 22:41:06
阅读次数:
503