
贪心
文章平均质量分 75
A_Happyer
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu1257 最少拦截系统 (贪心)
Problem D Time Limit : 2000/1000ms (Java/Other) Memory Limit : 65536/32768K (Java/Other) Total Submission(s) : 33 Accepted Submission(s) : 17 Problem Description 某国为了防御敌国的导弹袭击,发展出一种导弹拦原创 2014-05-20 09:12:43 · 499 阅读 · 0 评论 -
Codeforces Round #277.5 (Div. 2)-B
一看就是贪心,想了个策略,原创 2014-11-18 11:50:32 · 572 阅读 · 0 评论 -
uva live 6481
https://icpcarchive.ecs.baylor.edu/external/64/6481.pdf原创 2014-09-01 08:54:56 · 1161 阅读 · 0 评论 -
hdu 5037 Frog(贪心)
分析:贪心吧,让每次跳的点尽量小。 石头是可能无序的,比赛是实在没发现,就加了个排序过了,哎。。。 代码: #include #include #include #include #include #include #include #include #define MOD 1000000007 typedef long long ll; using namespace std; cons原创 2014-09-22 08:19:12 · 3025 阅读 · 10 评论 -
uva1607 - Gates
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4482原创 2014-08-27 20:03:33 · 1898 阅读 · 0 评论 -
uva11093 Just Finish it up(思路)
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=2034原创 2014-08-27 14:27:00 · 1632 阅读 · 0 评论 -
uva11572Unique Snowflakes(滑动窗口)
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2619原创 2014-08-25 15:44:06 · 846 阅读 · 0 评论 -
uva1451 - Average(数形结合)
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4197原创 2014-08-25 21:20:10 · 1031 阅读 · 0 评论 -
UESTC889&&uvalive6623 Battle for Silver(dfs)
Battle for Silver Time Limit: 2999/999MS (Java/Others) Memory Limit: 65432/65432KB (Java/Others) Submit Status Piet Hein was a Dutch naval officer during the Eighty Years' War b原创 2014-08-27 09:28:47 · 1234 阅读 · 0 评论 -
uva1606 Amphiphilic Carbon Molecules
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4481原创 2014-08-24 14:47:08 · 1302 阅读 · 0 评论 -
poj3190 (mulitset贪心)
J - Problem J Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Description Oh those picky N (1 <= N <= 50,000) cows! They are so picky that原创 2014-07-30 07:32:31 · 560 阅读 · 0 评论 -
Codeforces Round #277.5 (Div. 2)-A
分析:这题很像Codefoces 432 C. Prime Swaps(水),我就直接处理数据原创 2014-11-18 11:55:30 · 551 阅读 · 0 评论