贪心
文章平均质量分 78
Somethingwll
先这样吧。。。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
The Text Splitting
E - The Text Splitting Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description You are given the string s of length n and the numbers p, q原创 2016-07-21 20:44:49 · 321 阅读 · 0 评论 -
贪心算法详解
原文链接:点击打开链接 有人说贪心算法是最简单的算法,原因很简单:你我其实都很贪,根本不用学就知道怎么贪。有人说贪心算法是最复杂的算法,原因也很简单:这世上会贪的人太多了,那轮到你我的份?转载 2016-08-09 09:20:04 · 449 阅读 · 0 评论 -
HDU-1051-Wooden Sticks【LIS】【贪心】
题目链接:点击打开链接 Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 18590 Accepted Submission(s): 7590 Problem Descrip原创 2016-08-11 17:48:30 · 533 阅读 · 0 评论 -
codeforces-508C-Anya and Ghosts【贪心】【思维】
题目链接:点击打开链接 C. Anya and Ghosts time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Anya loves to watch原创 2016-08-15 09:24:54 · 530 阅读 · 0 评论 -
codeforces-337【C思维,贪心】
题目链接:点击打开链接 C. Quiz time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Manao is taking part in a quiz. The原创 2016-10-23 22:34:30 · 487 阅读 · 0 评论 -
codeforces-232【A贪心、思维、图】
题目链接:点击打开链接 A. Cycles time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output John Doe started thinking about g原创 2016-11-07 23:36:19 · 379 阅读 · 0 评论 -
zzulioj-1961-取硬币【思维】【贪心】
题目链接:点击打开链接 1961: 取硬币 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 46 Solved: 6 SubmitStatusWeb Board Description n个硬币排成一排,你可以取走其中连续的一段硬币,但必须要求这段硬币中正面朝上的个数等于反面朝上的个数,那么你最多可以取走多少枚硬币?原创 2016-12-05 16:04:45 · 773 阅读 · 0 评论 -
poj-1716【贪心】
题目链接:点击打开链接 Integer Intervals Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14497 Accepted: 6157 Description An integer interval [a,b], a Write原创 2017-03-18 11:34:37 · 341 阅读 · 0 评论 -
玲珑学院-1107【贪心】
题目链接: 1107 - Niro loves Chinese Time Limit:3s Memory Limit:256MByte Submissions:219Solved:48 DESCRIPTION Once upon a time a little girl named Niro found an ancient book原创 2017-03-18 20:19:55 · 336 阅读 · 0 评论 -
codeforces-gym-100187-F【贪心】
题目链接:点击打开链接 F. Doomsday time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Doomsday comes in t原创 2017-03-20 23:26:01 · 617 阅读 · 0 评论 -
poj-4118-OpenJ_Bailian-开餐馆【贪心】【背包】
开餐馆 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice OpenJ_Bailian 4118 Description 北大信息学院的同学小明毕业之后打算创业开餐馆.现在共有n 个地点可供选择。小明打算从中选择合适原创 2016-07-31 16:22:56 · 1784 阅读 · 0 评论 -
lightoj-1198 - Karate Competition【贪心】
1198 - Karate Competition PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Your karate club challenged another karate club in you原创 2016-07-31 14:08:39 · 367 阅读 · 0 评论 -
HDU—1052—Tian Ji -- The Horse Racing
Tian Ji -- The Horse Racing Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1052 Description Here is a famous story in Chine原创 2016-07-24 17:02:45 · 365 阅读 · 0 评论 -
今年暑假不AC(贪心)
A - 今年暑假不AC Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description “今年暑假不AC?” “是的。” “那你干什么呢?” “看世界杯呀,笨蛋!” “@#$%^&*%...” 确实如此原创 2016-07-23 19:27:19 · 498 阅读 · 0 评论 -
Radar Installation(贪心)
Radar Installation Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %llu Submit Status Practice POJ 1328 Description Assume the coasting is an infinite straigh原创 2016-07-24 19:06:46 · 320 阅读 · 0 评论 -
CodeForces 698A —Vacations(贪心)
I - Vacations Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description Vasya has n days of vacations! So he decided to improve his IT s原创 2016-07-23 19:02:49 · 386 阅读 · 0 评论 -
HDU—1009—FatMouse' Trade
FatMouse' Trade Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1009 Description 康康准备了 M 斤的食物, 准备跟舍长交换哲学之宝 ♂ 舍长有 N 个房间. 第 i原创 2016-07-24 19:53:07 · 345 阅读 · 0 评论 -
HDU-2111-Saving HDU
Saving HDU Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 2111 Description 话说上回讲到海东集团面临内外交困,公司的元老也只剩下XHD夫妇二人了。显然,作为多年拼搏的商人,原创 2016-07-24 19:57:40 · 373 阅读 · 0 评论 -
Vacations【贪心】
I - Vacations Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description Vasya has n days of vacations! So he decided to improve his IT s原创 2016-07-23 19:00:21 · 427 阅读 · 0 评论 -
The Text Splitting【贪心】
E - The Text Splitting Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description You are given the string s of length n and the numbers p, q原创 2016-07-21 20:39:43 · 349 阅读 · 0 评论 -
Codeforces-Counting Kangaroos is Fun【贪心】【二分】
Counting Kangaroos is Fun Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Description There are n kangaroos with pockets. Each kangaroo has原创 2016-07-27 21:54:07 · 454 阅读 · 0 评论 -
hduoj-5969【位运算】【贪心】
题目链接:点击打开链接 最大的位或 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1179 Accepted Submission(s): 475 Problem Description B君和G原创 2017-03-14 18:08:05 · 385 阅读 · 0 评论
分享