The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of ...
分类:
其他好文 时间:
2017-07-25 10:29:24
阅读次数:
153
Oil Deposits The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangul ...
分类:
其他好文 时间:
2017-07-24 21:30:03
阅读次数:
182
题意:用广度优先搜索 //c++写输入时有问题 1)这个是深搜 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> /* map数组是用来装字符的 n,m提高作用域,使訪问的权限变高 dir方便广度 ...
分类:
其他好文 时间:
2017-07-18 22:10:47
阅读次数:
221
Oil Deposits Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31745 Accepted Submission(s): 18440 ...
分类:
其他好文 时间:
2017-07-17 00:31:42
阅读次数:
277
2017年7月8日 星期六 --出埃及记 Exodus 27:20"Command the Israelites to bring you clear oil of pressed olives for the light so that the lamps may be kept burning. ...
分类:
其他好文 时间:
2017-07-15 14:46:17
阅读次数:
145
题意 :输入一个m行n列的字符矩阵,统计字符“@”组成多少个八连块。如果两个字符“@”所在的格子相邻(横竖以及对角方向),就是说它们属于同一个八连块。 分析 :可以考虑种子填充深搜的方法。两重for循环枚举所有的点,然后只要是@点且还没被染色过则从这个点出发到达相邻的点染成同样的色(这里的颜色可以用 ...
分类:
其他好文 时间:
2017-07-10 22:03:00
阅读次数:
197
题目链接: http://poj.org/problem?id=2194 题目描述: Stacking Cylinders Description Cylinders (e.g. oil drums) (of radius 1 foot) are stacked in a rectangular b ...
分类:
其他好文 时间:
2017-06-30 19:58:37
阅读次数:
258
--条件查询select * from car where oil<8 --从car表中查看oil小于8的结果select name as 车型名称,oil as 油耗 from car where oil<8 --只看name和oil字断看 加个as将name改成车型名字 oil改成油耗 as可以 ...
分类:
数据库 时间:
2017-06-22 20:11:18
阅读次数:
234
<pre name="code" class="cpp">题目大意:输入一个二维网格。每一个网格单元中仅仅有两种字符'*'和'@','@'表示油田。'*'表示土地。求出网格中共同拥有多少块油田? 注意:全部横向。竖向。对角线方向连同的油田算一块油田。 算法思想: 广度优先搜索。扫描每个网格。推断该网 ...
分类:
其他好文 时间:
2017-06-17 13:03:33
阅读次数:
133
1、创建表CREATE TABLE `gas` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `oil` VARCHAR(100) NULL DEFAULT NULL, `district` VARCHAR(100) NULL DEFAULT NULL, `pric ...
分类:
数据库 时间:
2017-06-07 19:53:28
阅读次数:
254