![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心算法
文章平均质量分 86
wanghandou
我是个爱学习的孩子
展开
-
C. Animals
C. Animals Time Limit: 2000msMemory Limit: 65536KB64-bit integer IO format: %I64d Java class name:(Any) SubmitStatus PID: 4769 Once upon a time DravDe, an outstanding原创 2016-04-09 16:06:06 · 645 阅读 · 0 评论 -
Intervals
Chiaki has n intervals and the i-th of them is [li, ri]. She wants to delete some intervals so that there does not exist three intervals a, b and c such that a intersects with b, b intersects with原创 2017-04-16 19:04:29 · 560 阅读 · 0 评论 -
L2-003. 月饼
L2-003. 月饼时间限制 100 ms内存限制 65536 kB代码长度限制 8000 B判题程序 Standard 作者 陈越月饼是中国人在中秋佳节时吃的一种传统食品,不同地区有许多不同风味的月饼。现给定所有种类月饼的库存量、总售价、以及市场的最大需求量,请你计算可以获得的最大收益是多少。原创 2017-03-21 14:47:20 · 832 阅读 · 0 评论 -
Danganronpa
DanganronpaTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 0 Accepted Submission(s): 0Problem DescriptionChisa Yukizome works as原创 2016-08-14 17:20:15 · 281 阅读 · 0 评论 -
简单的贪心
简单的贪心HintDescriptionThe 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原创 2016-08-06 11:48:06 · 342 阅读 · 0 评论 -
聪明的kk
聪明的kk时间限制:1000 ms | 内存限制:65535 KB难度:3描述 聪明的“KK”非洲某国展馆的设计灵感源于富有传奇色彩的沙漠中陡然起伏的沙丘,体现出本国不断变换和绚丽多彩的自然风光与城市风貌。展馆由五部分组成,馆内影院播放名为《一眨眼的瞬间》的宽银幕短片,反映了建国以来人民生活水平和城市居住环境的惊人巨变。可移动“沙丘”变戏法 的灵感源于其独特而雄伟的原创 2016-07-09 18:10:54 · 336 阅读 · 0 评论 -
Moving Tables
D - Moving TablesCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionThe famous ACM (Advan原创 2016-07-09 13:49:47 · 264 阅读 · 0 评论 -
田忌赛马
田忌赛马时间限制:3000 ms | 内存限制:65535 KB难度:3描述 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原创 2016-07-09 09:48:45 · 1472 阅读 · 0 评论 -
Flying to the Mars
Flying to the MarsCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionIn the year 88原创 2016-07-08 19:05:52 · 372 阅读 · 0 评论 -
Wooden Sticks
Wooden SticksCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionThere is a pile of n wood原创 2016-07-08 18:06:36 · 191 阅读 · 0 评论 -
J - Saving HDU
J - Saving HDUCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmitStatus Description话说上回讲到海东集团面临内外交困,公司的元老也只原创 2016-07-08 14:44:13 · 258 阅读 · 0 评论 -
Persistent Numbers
O - Persistent NumbersCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionThe multiplicati原创 2016-07-12 11:15:53 · 434 阅读 · 0 评论 -
Radar Installation
U - Radar InstallationCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionAssume the coast原创 2016-07-10 18:15:33 · 291 阅读 · 0 评论 -
Game Prediction
T - Game PredictionCrawling in process...Crawling failedTime Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64uSubmitStatus DescriptionSuppose there are M原创 2016-07-10 09:47:54 · 622 阅读 · 0 评论 -
贪心
sequence Time Limit: 1000MSMemory Limit: 65536KBDescription将一个给定的数列,拆分成K个不降序列,每个数出现且只出现一次,且在各序列中各个数相对于原数列的相对顺序不变。如7 6 9 8 10可以拆成 7 9 10和6 8。求最小的K值。Input第一行输入一个整数T(1 Output对每组转载 2016-04-18 20:49:19 · 300 阅读 · 0 评论 -
Largest Point
Given the sequence AA with nn integers t1,t2,⋯,tnt1,t2,⋯,tn. Given the integral coefficients aa and bb. The fact that select two elements titi and tjtj of AA and i≠ji≠j to maximi原创 2017-09-05 16:44:22 · 197 阅读 · 0 评论