码迷,mamicode.com
首页 >  
搜索关键字:deposits    ( 161个结果
UVa 572 Oil Deposits(DFS)
题意 计算@连通块的数量 典型的dfs应用...
分类:其他好文   时间:2014-08-04 21:37:58    阅读次数:267
ZOJ 1709
Time Limit:2 Seconds Memory Limit:65536 KBThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp w...
分类:其他好文   时间:2014-07-31 12:52:06    阅读次数:277
hud 1241 Oil Deposits
Oil Deposits Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11842    Accepted Submission(s): 6873 Problem Description The GeoSurvC...
分类:其他好文   时间:2014-07-26 02:33:06    阅读次数:317
- Oil Deposits 深搜,就是所谓的dfs
Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe GeoSurvComp geologic survey company is responsible for de...
分类:其他好文   时间:2014-07-26 00:34:56    阅读次数:233
hdu 1241 Oil Deposits
集训第一场,A题dfs简单题之前看过dfs,没实现过,第一次实现出来O(∩_∩)O~水手加油~ 1 #include 2 #include 3 using namespace std; 4 int row,col; 5 char oil[1000][1000]; 6 int to[8][2]={{-...
分类:其他好文   时间:2014-07-19 20:26:21    阅读次数:190
ZOJ - 1709 Oil Deposits
油田问题,有点像图像处理里的区域生长问题,找油田块数。BFS,DFS都可以。 1 /*BFS*/ 2 #include 3 #include 4 const int maxn=100+5,maxm=1000; 5 int m,n,vis[maxn][maxn],mat[maxn][maxn],dir...
分类:其他好文   时间:2014-07-18 16:19:41    阅读次数:267
poj1562 Oil Deposits(深搜dfs)
poj1562 Oil Deposits(dfs)...
分类:其他好文   时间:2014-07-16 10:55:47    阅读次数:201
HDU 1241 :Oil Deposits
Oil Deposits Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11360    Accepted Submission(s): 6626 Problem Description The GeoSurvComp ...
分类:其他好文   时间:2014-07-10 23:11:40    阅读次数:239
UVA Oil Deposits
题目如下: Oil Deposits  The GeoSurvComp geologic survey company is responsible for detectingunderground oil deposits. GeoSurvComp works with one large rectangularregion of land a...
分类:其他好文   时间:2014-06-22 14:36:31    阅读次数:232
50道hdu基础搜索总结(转)
Dfs:大部分是直接递归枚举,即求满足约束条件下的解,虽不用剪枝,但也需要代码能力。练习递归枚举的题目:1241 Oil Deposits (dfs的连通块个数)1016 Prime Ring Problem1584 蜘蛛牌(简单dfs,简单的剪枝,还有人用DP做(???))1426 Sudoku ...
分类:其他好文   时间:2014-05-23 02:54:33    阅读次数:301
161条   上一页 1 ... 14 15 16 17 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!