#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
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
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
Oil Deposits
T...
分类:
其他好文 时间:
2014-12-16 22:47:56
阅读次数:
629
题目描述:The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular regio...
分类:
其他好文 时间:
2014-12-16 18:26:45
阅读次数:
162
题目大意:给你一个m行n列的字符矩阵,统计字符“@”组成多少个八连块。
思路:DFS上下左右斜方向寻找八连块。vis数组记录的是联通块的编号。若
暂未搜到则为0。用dx,dy二重循环表示八个方向。...
分类:
其他好文 时间:
2014-12-11 19:12:32
阅读次数:
199
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1241Oil DepositsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Su...
分类:
其他好文 时间:
2014-12-03 13:53:33
阅读次数:
221
【科普】什么是BestCoder?如何参加?
Oil Deposits
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 13119 Accepted Submission(s): 7600
Pro...
分类:
其他好文 时间:
2014-12-02 15:15:33
阅读次数:
178
Oil Deposits
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 13068 Accepted Submission(s): 7571
Problem Description
The GeoSur...
分类:
其他好文 时间:
2014-11-28 10:14:08
阅读次数:
188
Oil Deposits
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 13013 Accepted Submission(s): 7540
Problem Description
The GeoSurvC...
分类:
其他好文 时间:
2014-11-24 22:31:38
阅读次数:
188
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 creates a grid that divides th...
分类:
其他好文 时间:
2014-11-08 18:21:48
阅读次数:
176