贪心
_lyl
这个作者很懒,什么都没留下…
展开
-
最少拦截系统(贪心)
最少拦截系统Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述 某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以原创 2014-08-05 20:56:51 · 844 阅读 · 0 评论 -
POJ 1323-Game Prediction(贪心)
Game PredictionTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 9552 Accepted: 4566DescriptionSuppose there are M people, including you, playing a specia原创 2014-08-11 19:25:46 · 783 阅读 · 0 评论 -
删数问题(贪心)
删数问题Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述给定n 位(n≤100)正整数a,去掉其中任意k≤n 个数字后,剩下的数字按原次序排列组成一个新的正整数。对于给定的n 位正整数a和正整数k,设计一个算法找出剩下数字组成的新数最小的删数方案。对于给定的正整数a,计算删去k 个数字后得到的最小数。原创 2014-07-24 17:11:17 · 4397 阅读 · 0 评论 -
活动选择问题(贪心)
贪心原创 2014-07-03 23:01:09 · 1518 阅读 · 0 评论 -
HDU 1050-Moving Tables(水)
Moving TablesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19364 Accepted Submission(s): 6617Problem DescriptionThe famous原创 2014-08-18 18:06:49 · 1138 阅读 · 0 评论 -
Codeforces 328B-Sheldon and Ice Pieces(贪心)
B. Sheldon and Ice Piecestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputDo you remember how Kai constructe原创 2014-10-11 22:24:36 · 1071 阅读 · 0 评论 -
Codeforces 4B-Before an Exam(构造)
B. Before an Examtime limit per test1 secondmemory limit per test64 megabytesinputstandard inputoutputstandard outputTomorrow Peter has a Biology exam. He does原创 2014-10-03 19:36:44 · 985 阅读 · 0 评论 -
Codeforces 137A-Postcards and photos(模拟+贪心)
A. Postcards and photostime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus has postcards and photos原创 2014-10-03 19:26:52 · 1021 阅读 · 0 评论 -
HDU 3661-Assignments(贪心)
AssignmentsTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1554 Accepted Submission(s): 716Problem DescriptionIn a factory, t原创 2014-10-18 21:04:10 · 948 阅读 · 0 评论