![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
black-hole6
这个作者很懒,什么都没留下…
展开
-
light oj 1047 - Neighbor House(贪心)
The people of Mohammadpur have decided to paint each of their houses red, green, or blue. They've also decided that no two neighboring houses will be painted the same color. The neighbors of house i a...原创 2018-11-30 11:08:07 · 342 阅读 · 0 评论 -
处女座的训练(贪心+前缀和)
题目描述 处女座靠着自己的家教本领赚够了去比赛的钱,于是开启了疯狂训练。在每个夜深人静第二天不收作业的夜晚,他都会开始刷题。 "今日又是一个刷题的夜晚。"他挑选了n道题开始刷,而题太多,刷不掉,理还乱(呜呜)、自己没有解决的题目每分钟都会给他带来bibi的疲倦值,而解决每一道题目都需要花费aiai分钟的时间。 当然,处女座一般都是考虑清楚了再写题的,所以他在写题的时候都会精神抖擞,也...原创 2019-01-26 17:48:49 · 491 阅读 · 0 评论 -
Codeforces Round 56-C. Mishka and the Last Exam(思维+贪心)
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Mishka is trying really hard to avoid being kicked out of the university. In parti...原创 2018-12-16 17:09:20 · 447 阅读 · 0 评论 -
Weights and Measures (贪心+dp)
I know, up on top you are seeing great sights, But down at the bottom, we, too, should have rights. We turtles can’t stand it. Our shells will all crack! Besides, we need food. We are starving!” groan...原创 2018-12-09 21:34:44 · 311 阅读 · 1 评论 -
HDU-1009-FatMouse' Trade(贪心)
FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has N rooms. The i-th room contains J[i] pounds of Ja...原创 2018-12-09 21:28:30 · 409 阅读 · 0 评论 -
Duff and Meat(贪心)
Duff is addicted to meat! Malek wants to keep her happy for n days. In order to be happy in i-th day, she needs to eat exactly ai kilograms of meat. There is a big shop uptown and Malek wants to bu...原创 2018-12-14 11:12:56 · 248 阅读 · 0 评论 -
Codeforces Round #527-B. Teams Forming(贪心)
time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are nn students in a university. The number of students is even. The ii-th st...原创 2018-12-19 16:10:49 · 436 阅读 · 0 评论 -
UVA 11292-Dragon of Loowater (贪心)
Once upon a time, in the Kingdom of Loowater, a minor nuisance turned into a major problem. The shores of Rellau Creek in central Loowater had always been a prime breeding ground for geese. Due to th...原创 2018-12-08 13:14:01 · 284 阅读 · 0 评论 -
Commando War (贪心)
Waiting for orders we held in the wood, word from the front never came By evening the sound of the gunfire was miles away Ah softly we moved through the shadows, slip away through the trees Crossin...原创 2018-12-07 23:20:02 · 319 阅读 · 0 评论 -
Game of Credit Cards(贪心+思维)
After the fourth season Sherlock and Moriary have realized the whole foolishness of the battle between them and decided to continue their competitions in peaceful game of Credit Cards. Rules of this ...原创 2019-02-15 18:22:10 · 279 阅读 · 0 评论