贪心算法
文章平均质量分 88
贪心算法
Koakuma丶珏
受尽苦难而不厌,此乃阿修罗之道
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
ZOJ-3715 Kindergarten Election(贪心+枚举)
Kindergarten ElectionTime Limit: 2 Seconds Memory Limit: 65536 KB At the beginning of the semester in kindergarten, the n little kids (indexed from 1 ton, for convenience) in class原创 2017-04-08 14:08:45 · 478 阅读 · 0 评论 -
CODE【VS】2809 盗窃-月之眼
题目描述 Description怪盗基德 VS OIBH第二话怪盗基德第三次来到熟悉的OIBH总部。屡屡失败的OIBH这次看守的是The Eye of Moon。还是那个房间,还是那扇门,不同的是OIBH对密码锁进行了改进。这次屏幕上只显示一个数n(基德:这是改进了还是退化了?)。密码生成方法:设集合A中A={1,2,...,n},B为A子集。对于B中任意一个元素x,2原创 2017-04-17 10:02:35 · 655 阅读 · 0 评论 -
ZOJ 2343(贪心)
RobbersTime Limit: 5 Seconds Memory Limit: 32768 KB Special JudgeN robbers have robbed the bank. As the result of their crime they chanced to get M golden coins. Before the robbery原创 2017-04-20 20:39:16 · 645 阅读 · 0 评论 -
NYOJ-248-BUYING FEED(第三届河南省程序设计大赛E题(贪心))
BUYING FEED时间限制:3000 ms | 内存限制:65535 KB难度:4描述Farmer John needs to travel to town to pick up K (1 D*K cents.The county feed lot has N (1 location X_i (0 < X_i John as much as F_i (1 A原创 2017-04-23 19:44:35 · 561 阅读 · 0 评论
分享