![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
whiskey_wei
这个作者很懒,什么都没留下…
展开
-
poj3253 Fence Repair —huffman&&贪心(离散数学233)
Fence Repair原创 2017-07-16 09:48:53 · 291 阅读 · 0 评论 -
hdu1009
Problem DescriptionFatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean.The warehouse has N rooms. The i-th room conta原创 2017-07-28 15:52:57 · 196 阅读 · 0 评论 -
hdu2037
先按照结束时间排序,贪心#include#include#includeusing namespace std;struct node{ int st; int en;}cl[105];bool cmp(node x,node y){ return x.en}int main(){ int n,cnt;原创 2017-07-28 15:25:57 · 159 阅读 · 0 评论