码迷,mamicode.com
首页 >  
搜索关键字:oil deposits    ( 270个结果
hdu 1204 深搜
#include #include #define MAX 110#define OIL true#define BLANK falseusing namespace std;bool oil_map[MAX][MAX];int dir_map[8][2]={ {1,0},{-1,0},{0,1},...
分类:其他好文   时间:2015-01-29 12:36:55    阅读次数:157
UVA Oil Deposits (BFS)
Oil Deposits  The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and cre...
分类:其他好文   时间:2015-01-20 17:58:24    阅读次数:135
DFS入门之二---DFS求连通块
用DFS求连通块也是比较典型的问题, 求多维数组连通块的过程也称为--“种子填充”。我们给每次遍历过的连通块加上编号, 这样就可以避免一个格子访问多次。比较典型的问题是”八连块问题“。即任意两格子所在位置相邻(上下左右对角共八个方位),则在一个连通块。典型例题:HDU 1241 Oil Deposi...
分类:其他好文   时间:2015-01-18 15:34:36    阅读次数:279
(简单) POJ 1562 Oil Deposits,BFS。
Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectang...
分类:其他好文   时间:2015-01-16 23:46:25    阅读次数:291
Oil Deposits
1533: Oil DepositsTime Limit: 1 SecMemory Limit: 64 MBSubmit: 477Solved: 303DescriptionThe GeoSurvComp geologic survey company is responsible for dete...
分类:其他好文   时间:2015-01-15 17:50:28    阅读次数:144
穿越沙漠
这个问题挺有名的,贴代码:#include "stdio.h"void main( ){ //FILE *fp; int i=1; double x=500.0,s=1000.0,oil; //fp=fopen("data.dat","w"); do { //fprintf(fp,"No=%-7d....
分类:其他好文   时间:2015-01-09 20:46:24    阅读次数:156
HDU 1241 Oil Deposits(dfs)
Oil Deposits Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13689    Accepted Submission(s): 7871 Problem Description The GeoSurvComp ...
分类:其他好文   时间:2015-01-02 17:36:24    阅读次数:179
HDU 1241 Oil Deposits(dfs)
#include#include#include#include#includeusing namespace std;char mat[10][10];int vis[10][10];int ok,dx,dy;int m,n,d;int op[4][2]={0,1,1,0,0,-1,-1,0};b...
分类:其他好文   时间:2014-12-23 20:52:26    阅读次数:156
Oil Deposits 搜索 bfs 强联通
DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular...
分类:移动开发   时间:2014-12-18 21:53:04    阅读次数:230
UVA - 572 - Oil Deposits (图的DFS!)
UVA - 572 Oil Deposits Time Limit: 3000MS   Memory Limit: Unknown   64bit IO Format: %lld & %llu Submit Status Description   Oil Deposits  T...
分类:其他好文   时间:2014-12-16 22:47:56    阅读次数:629
270条   上一页 1 ... 20 21 22 23 24 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!