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
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
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
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
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
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
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
题目连接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
题目大意:先给你一些子串,然后给你一个母串,母串里面的字母可以任意调换位置,问最多这个母串经过一些位置变动最多能包含多少个子串。分析:可以比较明显的看出来的DP,先求出来ATGC分别有多少,然后再处理,不过有个比较麻烦的地方,因为ATGC的字母数最多是40,因为不知道那种字母所以是40*40*40*...
分类:
其他好文 时间:
2015-08-31 15:02:08
阅读次数:
243
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