Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu Submit Status Submit Status Description Farmer John's farm was flooded in the most ...
分类:
其他好文 时间:
2016-07-28 16:23:39
阅读次数:
280
Old MacDonald has a farm and a large potato field, (1010?+?1)?×?(1010?+?1) square meters in size. The field is divided into square garden beds, each b ...
分类:
其他好文 时间:
2016-07-11 12:11:05
阅读次数:
262
Description Farmer John has a problem: the dirt road from his farm to town has suffered in the recent rainstorms and now contains (1 <= N <= 10,000) m ...
分类:
其他好文 时间:
2016-07-04 23:45:56
阅读次数:
474
3312: [Usaco2013 Nov]No Change Description Farmer John is at the market to purchase supplies for his farm. He has in his pocket K coins (1 <= K <= 16) ...
分类:
其他好文 时间:
2016-07-01 11:34:14
阅读次数:
215
PIGS Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 19711 Accepted: 9035 Description Mirko works on a pig farm that consists of M locked p ...
分类:
其他好文 时间:
2016-06-25 19:10:50
阅读次数:
166
描述 http://www.lydsy.com/JudgeOnline/problem.php?id=1619 给出一张图每个点的高度,在一个点上安排守卫可以监视周围所有不高于于当前点的点.也就是类似在一个点上灌水,周围(8格)低于它的点都会有水,然后继续...求最少的守卫数. 分析 首先图中的最高 ...
分类:
其他好文 时间:
2016-06-23 21:57:42
阅读次数:
401
1689: [Usaco2005 Open] Muddy roads 泥泞的路 Description Farmer John has a problem: the dirt road from his farm to town has suffered in the recent rainstor ...
分类:
其他好文 时间:
2016-06-18 11:32:57
阅读次数:
258
Farm Tour Time Limit: 2MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64u Description When FJ's friends visit him on the farm, he likes to show t ...
分类:
其他好文 时间:
2016-06-17 00:44:17
阅读次数:
237
PIGS Time Limit: 1000MS Memory Limit: 10000KB 64bit IO Format: %I64d & %I64u Description Mirko works on a pig farm that consists of M locked pig-house ...
分类:
其他好文 时间:
2016-06-16 01:39:49
阅读次数:
231
描述 http://www.lydsy.com/JudgeOnline/problem.php?id=1621\(n\)头奶牛,刚开始在一起,每次分成\(x\)和\(x+m\)两部分,直到不能再分,问最后一共有几部分. 分析 可以知道当前奶牛数\(n=x+x+m\),所以可以继续分的必要条件是\(n ...
分类:
其他好文 时间:
2016-06-12 12:32:49
阅读次数:
352