码迷,mamicode.com
首页 >  
搜索关键字:oil deposits    ( 270个结果
L - Oil Deposits
很清新的一道题,搜索里面最基础的题目,深搜广搜都可以.....不过还是喜欢深搜,写起来简单》。。////////////////////////////////////////////////#include#include#includeusingnamespacestd;constintmaxn...
分类:其他好文   时间:2015-07-16 11:18:16    阅读次数:100
UVa 572 Oil Deposits
很简单的。#include#include#include#includeusing namespace std;char pic[105][105];void dfs(int x, int y) { if (pic[x][y] == '@') { pic[x][y] = '*'; dfs(x, y...
分类:其他好文   时间:2015-07-15 19:12:45    阅读次数:160
Mysql 行列转换
1、创建表CREATE TABLE `gas` ( `id` INT(11) NOT NULL AUTO_INCREMENT, `oil` VARCHAR(100) NULL DEFAULT NULL, `district` VARCHAR(100) NULL DEFAULT NULL, `price` DOUBLE NULL DEFAULT '0', PRIMARY KEY (`id`...
分类:数据库   时间:2015-07-12 19:00:42    阅读次数:171
HDU(1241)
Oil Deposits Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16742    Accepted Submission(s): 9626 Problem Description The GeoSurvComp ...
分类:其他好文   时间:2015-07-11 09:19:06    阅读次数:164
UVa 572 - Oil Deposits【图DFS】
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 creates a grid...
分类:其他好文   时间:2015-06-16 23:06:33    阅读次数:311
hdoj 1241 Oil Deposits
Oil DepositsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16542Accepted Submission(s): 9500Probl...
分类:其他好文   时间:2015-06-14 22:46:39    阅读次数:192
sicily 1012/1206 Stacking Cylinders
1206. Stacking Cylinders Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description Problem Cylinders (e.g. oil drums) (of radius 1 foot) are stacked in a rectangular bin. Each ...
分类:其他好文   时间:2015-06-02 15:22:21    阅读次数:164
Uva 572 Oil Deposits
思路:可以用DFS求解。遍历这个二维数组,没发现一次未被发现的‘@’,便将其作为起点进行搜索。最后的答案,是这个遍历过程中发现了几次为被发现的‘@’import java.util.*;public class Main{ public static void main(String[] ar...
分类:其他好文   时间:2015-06-01 20:18:20    阅读次数:104
图--DFS求连通块
The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of....
分类:其他好文   时间:2015-05-27 13:39:16    阅读次数:165
POJ 1562 Oil Deposits
Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 13771Accepted: 7502DescriptionThe GeoSurvComp geologic survey company is responsible for dete...
分类:其他好文   时间:2015-05-27 11:55:45    阅读次数:107
270条   上一页 1 ... 17 18 19 20 21 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!