
dfs
console.log( )
吾日三省吾身:这事能不能不干、这事能不能推给别人干、这事能不能明天干。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HPU:1312Red and Black(dfs)
Red and Black Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 14566 Accepted Submission(s): 9023 Problem Description There is a rect原创 2016-01-13 21:24:46 · 375 阅读 · 0 评论 -
Oil Deposits<hdoj1241>
Description 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原创 2016-07-29 08:53:09 · 344 阅读 · 0 评论 -
变形课<hdoj1181>
Description 呃......变形课上Harry碰到了一点小麻烦,因为他并不像Hermione那样能够记住所有的咒语而随意的将一个棒球变成刺猬什么的,但是他发现了变形咒语的一个统一规律:如果咒语是以a开头b结尾的一个单词,那么它的作用就恰好是使A物体变成B物体. Harry已经将他所会的所有咒语都列成了一个表,他想让你帮忙计算一下他是否能完成老师的作业,将一个B(ball)变成一原创 2016-07-29 08:56:23 · 339 阅读 · 0 评论 -
Avoid The Lakes<poj3620>
Description Farmer John's farm was flooded in the most recent storm, a fact only aggravated by the information that his cows are deathly afraid of water. His insurance agency will only repay him,原创 2016-07-29 08:58:22 · 314 阅读 · 0 评论 -
zzulioj1908: 小火山的围棋梦想
Description 小火山最近喜欢上了围棋。 对于围棋,其实小火山是一窍不通的。现在棋盘上,有很多小火山的棋子。 如果棋盘上有这样的一个位置, 那么这个位置也会变成小火山 的棋子;这样的位置是指小火山的棋子将该位置围起来。 现在,小火山想知道实际棋盘是什么样子的。 你快来帮帮他吧! Input 输入第一行是一个整数T(T 每组数据,第一行为两个整数n原创 2016-08-10 19:30:19 · 620 阅读 · 0 评论 -
Codeforces Round #290 (Div. 2) B. Fox And Two Dots dfs
Description Fox Ciel is playing a mobile puzzle game called "Two Dots". The basic levels are played on a board of size n × m cells, like this: Each cell contains a dot that has some color. We wi原创 2016-08-13 17:28:28 · 343 阅读 · 0 评论