贪心
狂飙的小蜗牛呦
当你想要放弃,想想为什么坚持这么久
展开
-
Expedition POJ - 2431 优先队列+贪心
A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately managed to run over a rock and puncture the truck’s fuel tank. The...原创 2019-11-12 22:50:18 · 137 阅读 · 0 评论 -
Knights of a Polygonal Table CodeForces - 994B 贪心+思维
Unlike Knights of a Round Table, Knights of a Polygonal Table deprived of nobility and happy to kill each other. But each knight has some power and a knight can kill another knight if and only if his ...原创 2019-11-05 01:01:13 · 180 阅读 · 0 评论 -
Cutting CodeForces - 998B
There are a lot of things which could be cut — trees, paper, “the rope”. In this problem you are going to cut a sequence of integers. There is a sequence of integers, which contains the equal number o...原创 2019-11-03 23:28:40 · 130 阅读 · 0 评论 -
Doing Homework again HDU - 1789
Doing Homework again HDU - 1789 Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignati...原创 2019-10-21 14:22:14 · 218 阅读 · 0 评论