
贪心
Levi——
这个作者很懒,什么都没留下…
展开
-
Knights of a Polygonal Table CodeForces - 994B(思维+贪心 优先队列)
B. Knights of a Polygonal Tabletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputUnlike Knights of a Round Table, Knights of a Polygonal Table depriv...原创 2018-06-17 13:01:08 · 574 阅读 · 0 评论 -
A. Hit the Lottery(贪心)
A. Hit the Lotterytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAllen has a LOT of money. He has nn dollars in the bank. For security reasons, he...原创 2018-06-25 10:13:56 · 671 阅读 · 0 评论 -
Coins and Queries CodeForces - 1003D (贪心)
D. Coins and Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp has nn coins, the value of the ii-th coin is aiai. It is guaranteed t...原创 2018-07-05 14:33:24 · 352 阅读 · 0 评论