![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
obsorb_knowledge
心有不甘,呼唤着我
展开
-
Codeforces Round #481 (Div. 3) G. Petya's Exams(贪心)
G. Petya's Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya studies at university. The current academic year finishes with nn special day...原创 2018-05-15 09:36:46 · 324 阅读 · 0 评论 -
Nested Dolls HDU - 1677 (矩形嵌套问题,先构造序列,再用upper_bound找最长上升子序列+贪心)
Dilworth is the world’s most prominent collector of Russian nested dolls: he literally has thousands of them! You know, the wooden hollow dolls of different sizes of which the smallest doll is contain...原创 2018-05-15 20:49:00 · 279 阅读 · 0 评论