![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
脑回路清奇的少年
这个作者很懒,什么都没留下…
展开
-
Intervals ZOJ - 3953(贪心就完事了)【浙大17th校赛】
Chiaki has n intervals and the i-th of them is [li, ri]. She wants to delete some intervals so that there does not exist three intervals a, b and c such that a intersects with b, b intersects with c a...原创 2018-04-15 20:40:55 · 176 阅读 · 0 评论 -
CodeForces - 364B Free Market (Dp+贪心思想结合 )
John Doe has recently found a "Free Market" in his city — that is the place where you can exchange some of your possessions for other things for free. John knows that his city has n items in total (ea...原创 2018-05-27 22:00:24 · 219 阅读 · 0 评论 -
Children's Game UVA - 10905 (简单贪心)
There are lots of number games for children. These games are pretty easy to play but not so easy to make. We will discuss about an interesting game here. Each player will be given N positive integ...原创 2018-10-31 22:47:23 · 189 阅读 · 0 评论