![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
greedy strategy
文章平均质量分 79
death_ray
这个作者很懒,什么都没留下…
展开
-
1016 of greedy strategy
Problem DescriptionFJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as much or more than the median; half give a原创 2016-03-26 23:41:07 · 308 阅读 · 0 评论 -
1015 of greedy strategy
Problem DescriptionThe cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the next N (1 <= N <= 10,000) weeks, the price of milk and labor will fluctuate weekly such t原创 2016-03-26 23:32:49 · 278 阅读 · 0 评论 -
1014 of greedy strategy
Problem OTime Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 71 Accepted Submission(s) : 13Problem DescriptionBefore bridges were c原创 2016-03-26 17:32:29 · 349 阅读 · 0 评论 -
1012 of greedy strategy
Problem DescriptionCurrent work in cryptography involves (among other things) large prime numbers and computing powers of numbers among these primes. Work in this area has resulted in the practica原创 2016-03-26 17:00:59 · 340 阅读 · 0 评论 -
1011 of greedy strategy
Problem DescriptionAssume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating in the sea side. And any radar install原创 2016-03-26 16:44:06 · 268 阅读 · 0 评论 -
1010 of greedy strategy
Problem DescriptionThe local toy store sells small fingerpainting kits with between three and twelve 50ml bottles of paint, each a different color. The paints are bright and fun to work with, and原创 2016-03-26 16:22:13 · 266 阅读 · 0 评论 -
1007 of greedy strategy*
Problem DescriptionA relay is a race for two or more teams of runners. Each member of a team runs one section of the race. Your task is to help to evaluate the results of a relay race. You hav原创 2016-03-25 23:11:42 · 370 阅读 · 0 评论 -
1005 of greedy strategy
Problem Description"Yakexi, this is the best age!" Dong MW works hard and get high pay, he has many 1 Jiao and 5 Jiao banknotes(纸币), some day he went to a bank and changes part of his money into 1原创 2016-03-25 23:01:33 · 320 阅读 · 0 评论 -
1004 of greedy strategy
Problem Description“今年暑假不AC?”“是的。”“那你干什么呢?”“看世界杯呀,笨蛋!”“@#$%^&*%...”确实如此,世界杯来了,球迷的节日也来了,估计很多ACMer也会抛开电脑,奔向电视了。作为球迷,一定想看尽量多的完整的比赛,当然,作为新时代的好青年,你一定还会看一些其它的节目,比如新闻联播(永远不要忘记关心国家大事)、非常6+7、原创 2016-03-25 22:58:51 · 309 阅读 · 0 评论 -
1002 of greedy strategy
Problem DescriptionHere is a famous story in Chinese history."That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to play horse racing with the king原创 2016-03-25 13:23:33 · 460 阅读 · 0 评论 -
1001 of greedy strategy
Problem DescriptionThere is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It n原创 2016-03-25 13:04:30 · 240 阅读 · 0 评论 -
1000 of greedy strategy*
Problem DescriptionThe famous ACM (Advanced Computer Maker) Company has rented a floor of a building whose shape is in the following figure. The floor has 200 rooms each on the north sid原创 2016-03-25 12:52:53 · 319 阅读 · 0 评论 -
1017 of greedy strategy*
Problem DescriptionA factory produces products packed in square packets of the same height h and of the sizes 1*1, 2*2, 3*3, 4*4, 5*5, 6*6. These products are always delivered to customers in the原创 2016-03-26 23:48:28 · 318 阅读 · 0 评论