码迷,mamicode.com
首页 >  
搜索关键字:the cows are journey    ( 1818个结果
poj 3667 Hotel
Hotel Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 10959   Accepted: 4732 Description The cows are journeying north to Thunder Bay in Canada to gain cul...
分类:其他好文   时间:2014-05-22 18:29:19    阅读次数:237
POJ 2431 Expedition
ExpeditionTime Limit:  1000MSMemory Limit:  65536KDescriptionA group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately manag...
分类:其他好文   时间:2014-05-22 06:16:01    阅读次数:423
pku 2488 A Knight's Journey (搜索 DFS)
题目意思:象棋中的马在一张棋盘上能否不重复的走完所有格子,如果能走完输出走的路径(以字典序),如果没有一种走法能达到这样的目标,则输出impossible。 思路就是DFS 搜下去,当走过的格子数达到格子总数时就打印路径。所以要用一个数组记录每个定点的前驱节点。...
分类:其他好文   时间:2014-05-21 17:00:48    阅读次数:184
POJ 2387 Til the Cows Come Home dijkstra算法 用邻接表和邻接矩阵
题目如下: Til the Cows Come Home Time Limit: 1000MS        Memory Limit: 65536K Total Submissions: 27726        Accepted: 9353 Description Bessie is out in the field and wants to get back to the ba...
分类:其他好文   时间:2014-05-18 13:50:11    阅读次数:263
poj 3348 cows 凸包面积
1 /** 2 大意: 给定多个点求其确定的面积可以存放多少个面积为50的东西 3 思路: 1、凸包确定多边形 4 2、 多边形求面积 5 3、 面积/50 取整 6 **/ 7 #include 8 #include 9 using namespace...
分类:其他好文   时间:2014-05-13 20:34:16    阅读次数:244
POJ 3258 River Hopscotch 经典二分
点击打开链接 River Hopscotch Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 6189   Accepted: 2683 Description Every year the cows hold an event featuring a p...
分类:其他好文   时间:2014-05-09 22:12:24    阅读次数:500
[ACM] hdu 3342 Legal or Not (拓扑排序)
Legal or Not Problem Description ACM-DIY is a large QQ group where many excellent acmers get together. It is so harmonious that just like a big family. Every day,many "holy cows" like HH, ...
分类:其他好文   时间:2014-05-08 11:11:28    阅读次数:339
poj 2182 Lost Cows (线段树)
?? Lost Cows Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8838   Accepted: 5657 Description N (2 <= N <= 8,000) cows have unique brands in the range 1..N. ...
分类:其他好文   时间:2014-05-07 07:58:26    阅读次数:337
POJ3544 Journey with Pigs 动规基础贪心思想
非常经典的贪心题目,没有严格证明的话,肯定是YY着做的,题意: 约翰要从A到B,途中会经过N个村庄,他会带N只猪,然后卖掉,每个村庄卖一只,第i个村庄的人出价pi 每斤,从A到第i个存在的距离为disi,而且运一只猪需要话花费t * disi每斤,t一开始会给定 输入第一行n,t 接下来第一行 n个数,代表各个猪的重量 在接下来第二行n个数,代表每个村庄距离A的距离dis 在接下来第三行...
分类:其他好文   时间:2014-05-07 07:07:13    阅读次数:392
POJ3254:Corn Fields(状态压缩)
Description Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy corn for the cows on a number of square...
分类:其他好文   时间:2014-05-07 05:46:43    阅读次数:323
1818条   上一页 1 ... 179 180 181 182 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!