
贪心算法
文章平均质量分 75
山农数学姜赫
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
贪心 000 关于运送木板的问题
Problem A Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 349 Accepted Submission(s) : 46Problem DescriptionThe famous ACM (Advanced Computer Ma原创 2016-03-19 22:06:15 · 334 阅读 · 0 评论 -
贪心数学公式
Current 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 practical use of results from n原创 2016-03-21 08:52:42 · 400 阅读 · 0 评论 -
贪心 1013
Accounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc.All what they remember is that MS Inc. posted a surplus or a原创 2016-03-21 08:54:28 · 189 阅读 · 0 评论 -
贪心 1014
Before bridges were common, ferries were used to transport cars across rivers. River ferries, unlike their larger cousins, run on a guide line and are powered by the river's current. Cars drive onto t原创 2016-03-21 08:58:07 · 321 阅读 · 0 评论 -
贪心 10 15
The 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 that it will cost the co原创 2016-03-21 09:02:26 · 276 阅读 · 0 评论 -
贪心 1016
FJ 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 as much or less.Gi原创 2016-03-21 09:03:57 · 288 阅读 · 0 评论 -
贪心 1017
Problem R Time Limit : 2000/1000ms (Java/Other) Memory Limit : 20000/10000K (Java/Other)Total Submission(s) : 43 Accepted Submission(s) : 12Problem DescriptionA factory produces products p原创 2016-03-21 09:05:34 · 253 阅读 · 0 评论 -
贪心总结
贪心 算法比较简单的思路容易理解各类题目 。。。简单点 就是 背包问题 从小开始 选一个开始点 两个位置 struct bool函数 进行排序 然后 一个for循环解决问题可是 不知道为啥 对精确度以及pi值得大小总会wrong总得选一个合适的大小。并且贪心还嵌套许多数学。i!!所以学好数学多么关键。嘿嘿!!加油~~~~~~~原创 2016-04-11 08:11:27 · 518 阅读 · 0 评论 -
第一次接触三分!
Turn the corner Time Limit : 3000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 34 Accepted Submission(s) : 17Problem DescriptionMr. West bought a new c原创 2016-04-11 08:39:11 · 252 阅读 · 0 评论 -
贪心算法 1008
There 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 needs some time, called原创 2016-03-21 08:35:46 · 295 阅读 · 0 评论 -
贪心 1011
Assume 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 installation, locating on the原创 2016-03-21 08:49:02 · 199 阅读 · 0 评论 -
贪心 1010
Problem K Time Limit : 2000/1000ms (Java/Other) Memory Limit : 131072/65536K (Java/Other)Total Submission(s) : 9 Accepted Submission(s) : 7Problem DescriptionThe local toy store sells smal原创 2016-03-21 08:46:26 · 293 阅读 · 0 评论 -
贪心算法 002
Here 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 and others.""Both o翻译 2016-03-19 22:30:08 · 267 阅读 · 0 评论 -
贪心 00 1
Problem B Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 111 Accepted Submission(s) : 36Problem DescriptionThere is a pile of n wooden原创 2016-03-19 22:35:30 · 282 阅读 · 0 评论 -
贪心 1003 霍夫曼树
An entropy encoder is a data encoding method that achieves lossless data compression by encoding a message with “wasted” or “extra” information removed. In other words, entropy encoding removes inform原创 2016-03-21 08:20:10 · 403 阅读 · 0 评论 -
贪心 1004
Problem E Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 223 Accepted Submission(s) : 65Problem Description“今年暑假不AC?”“是的。”“那你干什么呢?”原创 2016-03-21 08:25:08 · 330 阅读 · 0 评论 -
1 005 天才的硬币
"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 Yuan, 5 Yuan, 10 Yuan.原创 2016-03-21 08:27:05 · 427 阅读 · 0 评论 -
贪心 1006
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elevator will stop, in specified order. It costs 6 sec原创 2016-03-21 08:29:40 · 289 阅读 · 0 评论 -
贪心1007
A 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 have to process several t原创 2016-03-21 08:32:32 · 308 阅读 · 0 评论 -
saying hdu
Saving HDUTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3058 Accepted Submission(s): 1353 Problem Description话说上回讲到原创 2016-05-22 11:29:24 · 284 阅读 · 0 评论