Expedition
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6890
Accepted: 2065
Description
A group of cows grabbed a truck and ventured on an expedition de...
分类:
其他好文 时间:
2014-08-17 19:59:02
阅读次数:
1506
Til the Cows Come Home
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 30007
Accepted: 10092
Description
Bessie is out in the field and wants to get back t...
分类:
其他好文 时间:
2014-08-17 15:35:32
阅读次数:
226
#include #include using namespace std;#define maxn 2100int dp[maxn][maxn];int val[maxn];int n;int main(){ while(scanf("%d",&n)!=EOF) { in...
分类:
其他好文 时间:
2014-08-17 10:24:22
阅读次数:
153
Description
The cows are so very silly about their dinner partners. They have organized themselves into three groups (conveniently numbered 1, 2, and 3) that insist upon dining together. The troubl...
分类:
其他好文 时间:
2014-08-15 17:56:49
阅读次数:
205
题目链接:http://poj.org/problem?id=2387题目大意:起点一定是1,终点给出,然后求出1到所给点的最短路径。注意的是先输入边,在输入的顶点数,不要弄反哦~~~ 1 #include 2 #include 3 using namespace std; 4 int map[.....
分类:
其他好文 时间:
2014-08-14 23:16:26
阅读次数:
341
题目:http://poj.org/problem?id=3348求凸包面积算法:先对点的横坐标排序,从左到右先计算下凸边,再从右到左计算上凸边.复杂度比Graham Scan法稍稍要高(两次遍历点集),但实现较容易#include #include using namespace std;stru...
分类:
其他好文 时间:
2014-08-14 03:48:17
阅读次数:
220
DescriptionBackgroundOur knight lives on a chessboard that has a smaller area than a regular 8 * 8 board,but it is still rectangular.Can you help this...
分类:
其他好文 时间:
2014-08-14 03:46:57
阅读次数:
305
A Knight's JourneyTime Limit:1000MSMemory Limit:65536KTotal Submissions:30656Accepted:10498DescriptionBackgroundThe knight is getting bored of seeing ...
分类:
其他好文 时间:
2014-08-14 00:58:47
阅读次数:
307
Cow BowlingTime Limit:1000MSMemory Limit:65536KTotal Submissions:13481Accepted:8909DescriptionThe cows don't use actual bowling balls when they go bow...
分类:
其他好文 时间:
2014-08-13 14:50:36
阅读次数:
174
1669: [Usaco2006 Oct]Hungry Cows饥饿的奶牛Time Limit:5 SecMemory Limit:64 MBSubmit:665Solved:419[Submit][Status]DescriptionFarmer John养了N(1 r do 8 begin .....
分类:
其他好文 时间:
2014-08-12 18:56:34
阅读次数:
170