
|--贪心算法
SimonCoder
No matter how gift , you along can not change the world
展开
-
HDOJ 2570 迷瘴
http://acm.hdu.edu.cn/showproblem.php?pid=2570原创 2014-08-19 19:47:41 · 630 阅读 · 0 评论 -
NYOJ 题目106 背包问题
http://acm.nyist.net/JudgeOnline/problem.php?pid=106原创 2014-08-15 20:21:38 · 667 阅读 · 0 评论 -
NYOJ 题目6 喷水装置(一)
http://acm.nyist.net/JudgeOnline/problem.php?pid=6原创 2014-08-15 17:00:16 · 573 阅读 · 0 评论 -
NYOJ 题目14 会场安排问题(贪心)
http://acm.nyist.net/JudgeOnline/problem.php?pid=14原创 2014-08-15 17:37:54 · 706 阅读 · 0 评论 -
NYOJ 题目71 独木舟上的旅行(贪心)
http://acm.nyist.net/JudgeOnline/problem.php?pid=71独木舟上的旅行时间限制:3000 ms | 内存限制:65535 KB难度:2描述 进行一次独木舟的旅行活动,独木舟可以在港口租到,并且之间没有区别。一条独木舟最多只能乘坐两个人,且乘客的总重量不能超过独木舟的最大承载量。我们要尽量减少这次活动中的花销,所以原创 2014-08-15 19:30:39 · 1332 阅读 · 0 评论 -
NYOJ 题目91 阶乘之和(贪心)
http://acm.nyist.net/JudgeOnline/problem.php?pid=91阶乘之和时间限制:3000 ms | 内存限制:65535 KB难度:3描述 给你一个非负数整数n,判断n是不是一些数(这些数不允许重复使用,且为正数)的阶乘之和,如9=1!+2!+3!,如果是,则输出Yes,否则输出No;输入第一行有一个整数0原创 2014-08-15 20:00:14 · 917 阅读 · 0 评论 -
poj 3262 Protecting the Flowers
Protecting the FlowersTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 4544 Accepted: 1820DescriptionFarmer John went to cut some wood and left N (2 ≤ N原创 2014-12-01 07:21:03 · 623 阅读 · 0 评论