
贪心
脑回路清奇的少年
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 · 219 阅读 · 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 · 308 阅读 · 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 tomake. We will discuss about an interesting game here. Each player will be givenNpositive integ...原创 2018-10-31 22:47:23 · 275 阅读 · 0 评论