1706: [usaco2007 Nov]relays 奶牛接力跑Time Limit:5 SecMemory Limit:64 MBSubmit:346Solved:166[Submit][Status]DescriptionFJ的N(2 2 #include 3 const int maxn.....
分类:
其他好文 时间:
2014-08-13 07:57:55
阅读次数:
275
BZOJ1706: [usaco2007 Nov]relays 奶牛接力跑BZOJ1898: [Zjoi2004]Swamp 沼泽鳄鱼BZOJ2326: [HNOI2011]数学作业BZOJ3204: [NOI2013] 矩阵游戏BZOJ2875: [Noi2012]随机数生成器BZOJ1009: ...
分类:
其他好文 时间:
2014-08-13 00:55:24
阅读次数:
211
1666: [Usaco2006 Oct]Another Cow Number Game 奶牛的数字游戏Time Limit:5 SecMemory Limit:64 MBSubmit:502Solved:432[Submit][Status]Description奶牛们又在玩一种无聊的数字游戏。输...
分类:
其他好文 时间:
2014-08-12 18:10:04
阅读次数:
212
1616: [Usaco2008 Mar]Cow Travelling游荡的奶牛Time Limit:5 SecMemory Limit:64 MBSubmit:762Solved:427[Submit][Status]Description奶牛们在被划分成N行M列(2 <= N <= 100; 2...
分类:
其他好文 时间:
2014-08-12 18:04:24
阅读次数:
201
Catch That Cow
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 46671
Accepted: 14656
Description
Farmer John has been informed of the location of a fugitiv...
分类:
其他好文 时间:
2014-08-12 17:06:04
阅读次数:
171
Description
One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ X ≤ N). A total of M (1 ≤ M ≤ 100,000) unidirectio...
分类:
其他好文 时间:
2014-08-11 21:23:43
阅读次数:
303
Cow Exhibition
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9067
Accepted: 3441
Description
"Fat and docile, big and dumb, they look so stupid, they aren'...
分类:
其他好文 时间:
2014-08-11 17:58:32
阅读次数:
299
链接:poj 2184
题意:给定n头牛,每头牛的的智商(si)和幽默感(fi)已知,求在保证智商(S)的和及幽默感(F)的和都为非负的情况下,智商和幽默感(S+T)的最大值
分析:题的本质即从n头牛中选出S>=0&&T>=0时,S+T的最大值
以智商最为容量,幽默感作为价值,因为每头牛只能选一次,就转化01背包了,
dp[i]为智商为i时幽默感的最大值,则状态转移方程为 dp[j]=ma...
分类:
其他好文 时间:
2014-08-11 12:04:22
阅读次数:
136
Catch That Cow
Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 7147 Accepted Submission(s): 2254
Problem Description
Farmer John...
分类:
其他好文 时间:
2014-08-09 18:44:48
阅读次数:
226