码迷,mamicode.com
首页 >  
搜索关键字:poj 1251 jungle road    ( 20993个结果
POJ 1038 Bugs Integrated, Inc.
Bugs Integrated, Inc. Time Limit: 15000MS   Memory Limit: 30000K Total Submissions: 8825   Accepted: 3381 Case Time Limit: 5000MS Description Bugs Integrated, Inc. i...
分类:其他好文   时间:2014-06-05 12:00:52    阅读次数:348
poj 3278
Catch That Cow Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 43851   Accepted: 13674 Description Farmer John has been informed of the location of a fugitiv...
分类:其他好文   时间:2014-06-05 07:45:38    阅读次数:220
POJ - 1111 Image Perimeters
题意:求'X'围成的周长 思路:按理说每增加一个就是周长加4,但是要减去重复的地方,这里我是用BFS做的,如果是BFS的模板思路的话是不行的,应该要先取出再标记 #include #include #include #include #include using namespace std; const int MAXN = 30; struct node { int x,y; ...
分类:其他好文   时间:2014-06-05 06:23:39    阅读次数:221
POJ 2029 Get Many Persimmon Trees
这是动态规划?我一点思路怎么也没有。最后还是用矩阵部分求和枚举0MS。 题目大意: 给出一个矩阵,上面有几个点。在给一个小点儿的矩阵,求这个矩阵最多能套上几个点。(注意:小矩阵长宽给定,不能旋转)。 解题思路: 建立数组num[i][j]代表点(1,1)到点(i,j)组成的矩阵里有几个点。 下面是代码: #include #include int num[1...
分类:其他好文   时间:2014-06-05 06:14:33    阅读次数:226
Trie树 POJ1056 IMMEDIATE DECODABILITY
题目:http://poj.org/problem?id=1056题意:判断是否有串是其他串的前缀#include#include#include#include#include#include#include#includeusing namespace std;struct Node{ i...
分类:其他好文   时间:2014-05-31 07:46:48    阅读次数:227
poj2017
Speed LimitTime Limit: 1000MSMemory Limit: 30000KTotal Submissions: 16884Accepted: 11841DescriptionBill and Ted are taking a road trip. But the odomet...
分类:其他好文   时间:2014-05-31 06:50:53    阅读次数:193
POJ训练计划
POJ训练计划Step1-500题 UVaOJ+算法竞赛入门经典+挑战编程+USACO 请见:http://acm.sdut.edu.cn/bbs/read.php?tid=5321 一、POJ训练计划 Moon修订 298道题集训第一天 POJ纯水题 = =: 17道题 2017 1218 200...
分类:其他好文   时间:2014-05-31 01:31:16    阅读次数:361
poj 1026 Cipher
http://poj.org/problem?id=1026这道题题意是给你一个置换群,再给你一个字符串,输出经过k次置换的字符串。 就是找循环节。 1 #include 2 #include 3 #include 4 #define maxn 3000 5 using namespace s...
分类:其他好文   时间:2014-05-30 21:45:37    阅读次数:249
poj 2362 Square
DescriptionGiven a set of sticks of various lengths, is it possible to join them end-to-end to form a square?InputThe first line of input contains N, ...
分类:其他好文   时间:2014-05-30 21:21:54    阅读次数:284
poj 1094 Sorting It All Out
DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used to order the elements from smalle...
分类:其他好文   时间:2014-05-30 14:31:10    阅读次数:297
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!