E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
1241
17班4践队7.28文章汇总
图片发自App007-1238李福旭:鱼和熊掌不可兼得007-1239张晓莉:不一样的人生脚本007-1240刘伟:《千与千寻》中看到的生活启示007-
1241
潘永:人人都想创业,你真的适合吗?
周纾彦
·
2017-07-28 19:26
火焰哥特式建筑与宫廷风格
圣礼拜堂圣礼拜堂(Sainte-Chapelle),
1241
年设计完毕,七年后完工。这座
瑞亚子
·
2017-07-21 18:09
HDU
1241
-Oil Deposits(DFS)
OilDepositsTimeLimit:2000/1000MS(Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):29573AcceptedSubmission(s):17077ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblef
lnn_csdn
·
2017-03-29 19:17
ACM
图论 DFS HDU
1241
include#include#include#include#include#include#include#include#include#includeusingnamespacestd;/*T1杭电
1241
再远不过PC
·
2016-08-10 15:32
图论
HDU 5692 Snacks( dfs序 + 线段树处理区间求和)
SnacksTimeLimit:10000/5000MS(Java/Others) MemoryLimit:65536/65536K(Java/Others)TotalSubmission(s):
1241
Forever_wjs
·
2016-07-08 15:00
HDOJ/HDU
1241
Oil Deposits(经典DFS)
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
qq_26525215
·
2016-07-05 17:00
ACM
DFS
HDU
1241
Oil Deposits【简单DPS搜索】
OilDepositsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):23239 AcceptedSubmission(s):13408ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresp
qq_24653023
·
2016-07-04 15:00
ACM
hdoj
DPS
HDU
1241
Oil Deposits (基础DFS 或者 BFS)
OilDepositsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):23051 AcceptedSubmission(s):13296ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresp
liangzhaoyang1
·
2016-06-04 10:00
HDU
bfs
oil
1241
Deposits
基础DFS
JetBrains使用技能分享征集大赛参赛作品——PHPStorm(10.0版)实用小技巧
作者:junqing
1241
、首次使用,发现系统没有行号,可以通过点击File->Setting这里设置修改内容记住行号,然后去别的地方修改配合Ctrl+G,能方便回到刚才修改的地方了2、ctrl+alt
csdn_Jetbrains
·
2016-05-26 15:55
jetbrains
phpstorm
jetbrains
HDU
1241
Oil Deposits
【题意】@表示油田,求一共有多少组油田是连通的,连通的意思是与@的八个方向相邻【解题思路】用深度优先遍历每个点,每走过了一个油田就标记为走过了。【AC代码】#include #include #include #include #include #include #include #include #include #include usingnamespacestd; intn,m; char
just_sort
·
2016-05-11 21:00
HDU
1241
DFS/BFS 求连通块
0) 遍历所有点,求出连通块的数量,每到一块油田,就采用DFS或者BFS消除该油田以及附近连通的油田。 注意(易错): ①二维数组mat[i][j],i是第几行,j是第几列,所以搜到一点再搜该点周围八个方位(+dir[i][j])时,以及确定是否超出地图范围时,注意i是纵向加减,j是横向加减,且(0,0)原点在左上角,向右向下坐标的值都是不断递增。 ②sca
a272846945
·
2016-05-11 11:00
DFS
bfs
hd2616 Kill the monster
KillthemonsterTimeLimit:2000/1000MS(Java/Others)MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):
1241
AcceptedSubmission
GuoZLH
·
2016-05-08 00:30
hduoj
------搜索-------
hd2616 Kill the monster
KillthemonsterTimeLimit:2000/1000MS(Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):
1241
GuoZLH
·
2016-05-08 00:00
HDOJ
1241
Oil Deposits(DFS模板题)
pid=
1241
题意:GeoSurvComp地质探测公司负责探测地下油田。每次GeoSurvComp公司都是在一块长方形的土地上来探测油田。
u011523762
·
2016-05-05 19:00
DFS
LightOJ
1241
- Pinocchio【模拟】
1241
-Pinocchio PDF(English)StatisticsForumTimeLimit: 0.5second(s)MemoryLimit: 32MBYoumusthaveheardthenameofPinocchio.Ifyouneverheardofhim
qq_29600137
·
2016-05-04 14:00
模拟
lightoj
LightOJ -
1241
Pinocchio (模拟)
LightOJ-
1241
PinocchioTimeLimit: 500MS
yanghui07216
·
2016-04-30 18:00
hdu
1241
简单 搜索DFS (深搜)
OilDepositsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):22567 AcceptedSubmission(s):12989ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresp
qq_33406883
·
2016-04-28 20:00
HDU 2401 Baskets of Gold Coins(数学题)
Java/Others) MemoryLimit:32768/32768K(Java/Others)TotalSubmission(s):2066 AcceptedSubmission(s):
1241
ProblemDescriptionYouaregivenNbaskets
liangzhaoyang1
·
2016-04-27 20:00
HDU
of
Gold
coin
数学题
2401
Baskets
Java入门 第二季第一章 类和对象
这是我学习慕课网Java课程的笔记,原视频链接为:http://www.imooc.com/learn/
1241
-1什么是类和对象●对象的概念 万物皆对象,客观存在的事物即对象。
smilewsw
·
2016-04-12 12:00
java
hdu
1241
Oil Deposits
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
zyq_19960204
·
2016-04-04 11:00
HDU-
1241
-Oil Deposits
HDU-
1241
-OilDeposits题目链接:HDU-
1241
题目思路:在一个矩阵里,有些格子是‘@’,有些不是,相邻(上、下、左、右、左上、右上、左下、右下)的格子如果也是‘@’,那么他们属于同一个矿井
loy_184548
·
2016-04-01 12:00
HDU
DFS
1241
java IO结构详解
转自:http://dev.csdn.net/author/lin_bei/8b332118ef
1241
d3a35ece6a2dcb05f6.html从Decorator,Adapter模式看Java/
hijiankang
·
2016-03-31 16:23
java基础
BestCoder Round #76 (div.2)
DZYLovesPartitionTimeLimit:4000/2000MS(Java/Others) MemoryLimit:262144/262144K(Java/Others)TotalSubmission(s):
1241
lv414333532
·
2016-03-27 21:00
HDOJ
1241
Oil Deposits(BFS)
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
u013555159
·
2016-03-26 07:00
HDOJ
1241
Oil Deposits(BFS)
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
u013555159
·
2016-03-25 23:00
HDOJ
1241
Oil Deposits(BFS)
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
u013555159
·
2016-03-25 23:00
HD_
1241
Oil Deposits(DFS)
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
eagle_or_snail
·
2016-03-22 20:00
搜索
ACM
深搜
HDU
1241
/UVa572 Oil Deposits(DFS&BFS)
OilDepositsTimeLimit:2000/1000ms(Java/Other) MemoryLimit:65536/32768K(Java/Other)TotalSubmission(s):2 AcceptedSubmission(s):2ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsibleforde
hurmishine
·
2016-03-22 18:00
oil
Deposits
hdu1241
Uva572
第八届河南省程序设计大赛-NYOJ-
1241
-Distribution(水题)
Distribution时间限制:1000ms|内存限制:65535KB难度:1描述Oneday,WangandDongintheDubaidesertexpedition,discoveredanancientcastle.Fortunately,theyfoundamapofthecastle.Themapmarksthelocationoftreasures.Theyagreedtodist
qq_32680617
·
2016-03-14 13:00
水题
HDU
1241
Oil Deposits (搜索水题)
HDU
1241
找连通集数量。注意第三个测试样例第一行后面多了一个空格,忽略即可。
Strokess
·
2016-03-11 18:00
HDU
1241
Oil Deposits
OilDepositsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):21513 AcceptedSubmission(s):12413ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresp
yao1373446012
·
2016-03-05 16:00
hd
1241
#include usingnamespacestd; intm,n,res; chars[105][105]; voiddfs(intx,inty) { s[x][y]='*'; for(inti=-1;i>m>>n) { if(m==0)break; for(inti=0;i>s[i][j]; res=0; for(inti=0;i
luosuo10
·
2016-03-02 22:00
hdu
1241
搬寝室
Description搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,xhd开始发呆,因为n是一个小于2000的整数,实在是太多了,于是xhd决定随便搬2*k件过去就行了.但还是会很累,因为2*k也不小是一个不大于n的整数.幸运的是xhd根据多年的搬东西的经验发现每搬一次的疲劳度是和左右手的物品的重量差
xiaojixuansu
·
2016-02-25 14:00
HDU
1241
Oil Deposits
简单的dfs。。不过要规定条件,不然会wa。。有点奇怪。。照理说走出map就没有@了。。恩。。以后多多关注边界吧!#include intn,m; charmap[110][110]; intmove[8][2]={{1,0},{-1,0},{0,1},{0,-1},{1,1},{-1,-1},{-1,1},{1,-1}}; voiddfs(inti,intj) { for(intk=0;k=0&
qq_32995183
·
2016-02-20 16:00
DFS
HDU
1241
Oil Deposits(DFS模板题)
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
tomorrowtodie
·
2016-02-12 01:00
算法
DFS
杭电
辗转相除法
利用辗转相除法求两数的最大公因数或最小公倍数例如 求6497和3869的最大公因数和最小公倍数 6497÷3869=1……2628 3869÷2628=1……
1241
2628÷
1241
=1……146
阿飞的小蝴蝶蝶
·
2016-02-11 20:00
hdu
1241
Oil Deposits
ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandintonum
LeeHolmes
·
2016-02-06 14:00
搜索
HDU
HDU
1241
Oil Deposits(DFS)
题目链接ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandint
ACMSaga
·
2016-02-03 17:00
HDU
1241
Oil Deposits(DFS)
题目链接ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingundergroundoildeposits.GeoSurvCompworkswithonelargerectangularregionoflandatatime,andcreatesagridthatdividesthelandint
ACMSaga
·
2016-02-03 17:00
HDU
1241
Oil Deposits
pid=
1241
题目大意:给一块油田,有油的是@,没油的是*,油田可以通过上下左右和对角线相连,问一共有几块连通的油田。
qq_29480875
·
2016-01-31 14:00
HDU
1241
Oil Deposits bfs
题目链接:OilDeposits这种水题还来写我是拒绝的。但是。记录吧。陷入对于编程无感的状态、1/* 2首先它水然后做过了。但是就是没有一点思路应该怎么做。被王sir嫌弃好失落。 3然后。我大腿启示我。 4直接搜呗。从所有可能的点随便找一个,搜。走过的路径就标记上,然后,再从剩下的找。直到所有的点都标记完就可以了、 5我T_T、总是不能自己想出思路来、 6*/ 7 8#includ
小小八
·
2016-01-28 22:00
hdu
1241
深度搜索
OilDepositsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):20861 AcceptedSubmission(s):12005ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresp
zcj5027
·
2016-01-27 17:00
nyoj
1241
Distribution (河南省第八届acm程序设计大赛)
题目
1241
题目信息运行结果本题排行讨论区Distribution时间限制:1000 ms | 内存限制:65535 KB难度:1描述Oneday,WangandDongintheDubaidesertexpedition
su20145104009
·
2016-01-26 21:00
distribution
nyoj
nyoj1241
1241
河南省第八届acm程序设计大赛
HDU
1241
Oil Deposits
简单的广搜题目与大家分享一下代码。。#include #include #include #include #include usingnamespacestd; chara[105][105]; intsum=0,m,n; intdir[8][8]={{0,1},{0,-1},{1,0},{-1,0},{1,1},{1,-1},{-1,1},{-1,-1}}; voidbfs(intx,in
qq_32866009
·
2016-01-18 19:00
HDU
【hdu】
1241
-Oil Deposits(DFS)(水)
OilDepositsCrawlinginprocess...CrawlingfailedTimeLimit:1000MS MemoryLimit:32768KB 64bitIOFormat:%I64d&%I64uSubmitStatusDescriptionTheGeoSurvCompgeologicsurveycompanyisresponsiblefordetectingunde
wyg1997
·
2015-12-24 18:00
Spark算子:RDD键值转换操作(2)–combineByKey、foldByKey
Spark算子:RDD键值转换操作(2)–combineByKey、foldByKey Spark
[email protected]
5个月前(07-06)
1241
℃ 0评论关键字:Spark算子、
江中炼
·
2015-12-21 20:00
foldByKey
bzoj(1823)(2-SAT)
1823:[JSOI2010]满汉全席TimeLimit: 10Sec MemoryLimit: 64MBSubmit:
1241
Solved: 596[Submit][Status][Discuss
M_AXSSI
·
2015-12-14 20:00
杭电
1241
Oil Deposits(搜索题)
OilDepositsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):19973 AcceptedSubmission(s):11475ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresp
mengxiang000000
·
2015-12-11 16:00
搜索
杭电
1241
hdu
1241
Oil Deposits(DFS)
OilDepositsTimeLimit:2000/1000MS(Java/Others) MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):19924 AcceptedSubmission(s):11436ProblemDescriptionTheGeoSurvCompgeologicsurveycompanyisresp
Xwxcy
·
2015-12-06 15:00
Oil Deposits(HD_
1241
)BFS
pid=
1241
题目思路:题目大意为求油田的连通分量,可以用两个for循环遍历整个图,当遇到为油田时,分量数加一,并且使用DFS将相连的油田标记为已走过,最后输出分量总数。
Keeping111
·
2015-11-20 09:00
遍历
DFS
杭电
连通分量
上一页
4
5
6
7
8
9
10
11
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他