码迷,mamicode.com
首页 >  
搜索关键字:lost cows    ( 2004个结果
【POJ 3617】Best Cow Line
Best Cow LineTime Limit:1000MSMemory Limit:65536KTotal Submissions:13950Accepted:3987DescriptionFJ is about to take hisN(1 ≤N≤ 2,000) cows to the annu...
分类:其他好文   时间:2015-09-03 21:37:33    阅读次数:145
poj 2456 Aggressive cows(二分搜索之最大化最小值)
DescriptionFarmer John has built a new long barn, with N (2 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 #define N....
分类:其他好文   时间:2015-09-03 19:05:19    阅读次数:175
poj 3258 River Hopscotch(二分搜索)
DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. T...
分类:其他好文   时间:2015-09-02 23:16:48    阅读次数:256
poj 2392 Space Elevator(多重背包+先排序)
DescriptionThe cows are going to space! They plan to achieve orbit by building a sort of space elevator: a giant tower of blocks. They have K (1 =0表示取...
分类:编程语言   时间:2015-09-02 21:54:00    阅读次数:320
poj 3666 Making the Grade(dp)
DescriptionA straight dirt road connects two fields on FJ's farm, but it changes elevation more than FJ would like. His cows do not mind climbing up o...
分类:其他好文   时间:2015-09-02 20:38:36    阅读次数:246
poj 3176 Cow Bowling(dp基础)
DescriptionThe cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a standa...
分类:其他好文   时间:2015-09-01 20:04:14    阅读次数:238
poj 2226 Muddy Fields(最小点覆盖+巧妙构图)
DescriptionRain has pummeled the cows' field, a rectangular grid of R rows and C columns (1 2 #include 3 #include 4 using namespace std; 5 #define N ....
分类:其他好文   时间:2015-08-31 23:14:10    阅读次数:331
poj 1985 Cow Marathon
题目连接http://poj.org/problem?id=1985Cow MarathonDescriptionAfter hearing about the epidemic of obesity in the USA, Farmer John wants his cows to get mor...
分类:其他好文   时间:2015-08-31 17:10:21    阅读次数:283
Lost's revenge - HDU 3341 (自动机+DP)
题目大意:先给你一些子串,然后给你一个母串,母串里面的字母可以任意调换位置,问最多这个母串经过一些位置变动最多能包含多少个子串。分析:可以比较明显的看出来的DP,先求出来ATGC分别有多少,然后再处理,不过有个比较麻烦的地方,因为ATGC的字母数最多是40,因为不知道那种字母所以是40*40*40*...
分类:其他好文   时间:2015-08-31 15:02:08    阅读次数:243
poj 2010 Moo University - Financial Aid(优先队列(最小堆)+ 贪心 + 枚举)
DescriptionBessie noted that although humans have many universities they can attend, cows have none. To remedy this problem, she and her fellow cows f...
分类:其他好文   时间:2015-08-30 21:07:00    阅读次数:174
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!