题目描述 Farmer John has gone to town to buy some farm supplies. Being a very efficient man, he always pays for his goods in such a way that the smallest ...
分类:
其他好文 时间:
2018-04-10 21:56:10
阅读次数:
292
题目描述 Farmer John已经决定把水灌到他的n(1<=n<=300)块农田,农田被数字1到n标记。把一块土地进行灌水有两种方法,从其他农田饮水,或者这块土地建造水库。 建造一个水库需要花费wi(1<=wi<=100000),连接两块土地需要花费Pij(1<=pij<=100000,pij=p ...
分类:
其他好文 时间:
2018-04-09 19:00:38
阅读次数:
214
原文链接 There are many trees forming a m * n grid, the grid starts from (1,1). Farmer Sherlock is standing at (0,0) point. He wonders how many trees he c ...
分类:
其他好文 时间:
2018-04-08 00:16:12
阅读次数:
170
题目描述 Farmer John's N cows (1 <= N <= 10,000) are conveniently numbered 1..N. Each cow i takes T(i) units of time to milk. Unfortunately, some cows mus ...
分类:
其他好文 时间:
2018-04-07 22:47:30
阅读次数:
226
Some of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a bad hair day! Since each cow is self-conscious about her messy hairstyle, FJ wants to count ...
分类:
其他好文 时间:
2018-04-06 00:13:00
阅读次数:
184
P2965 [USACO09NOV]农活比赛The Grand Farm-off P2965 [USACO09NOV]农活比赛The Grand Farm-off P2965 [USACO09NOV]农活比赛The Grand Farm-off 题目描述 Farmer John owns 3*N ( ...
分类:
其他好文 时间:
2018-04-01 21:56:56
阅读次数:
161
Description Farmer John has purchased a subscription to Good Hooveskeeping magazine for his cows, so they have plenty of material to read while waitin ...
分类:
其他好文 时间:
2018-04-01 13:10:31
阅读次数:
180
洛谷 P2984 [USACO10FEB]给巧克力Chocolate Giving 题目描述 Farmer John is distributing chocolates at the barn for Valentine's day, and B (1 <= B <= 25,000) of his ...
分类:
其他好文 时间:
2018-03-31 15:11:29
阅读次数:
140
[Usaco2009 Open]工作安排Job Time Limit: 10 Sec Memory Limit: 64 MB Description Farmer John 有太多的工作要做啊!!!!!!!!为了让农场高效运转,他必须靠他的工作赚钱,每项工作花一个单位时间。 他的工作日从0时刻开始, ...
分类:
其他好文 时间:
2018-03-31 00:40:48
阅读次数:
156
Building roads Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 8153 Accepted: 2772 Description Farmer John's farm has N barns, and there ar ...
分类:
其他好文 时间:
2018-03-30 10:16:38
阅读次数:
247