![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
请叫我美文
软件工程师
展开
-
poj 3051 Satellite Photographs 很基础的dfs
poj 3051是一道很基础甚至有些水的题,很适合初学者入手! 题目如下:Satellite Photographs Description Farmer John purchased satellite photos of W x H pixels of his原创 2011-07-21 14:39:28 · 569 阅读 · 0 评论 -
poj 1753 Flip Game(dfs+枚举)
这道题,对我来说,真他妈的不容易! 代码如下: #include using namespace std; bool map[6][6],find=false; int step; int dr[5]={-1,0,0,0,1}; int dc[5]={0,-1,原创 2011-07-20 20:02:19 · 423 阅读 · 0 评论 -
poj 3620 Avoid The Lakes 深搜dfs
poj 3620 Avoid The Lakes 真的是我第一道完全理解的深搜题,对于大牛来说很水,但对我来说从中学到了很多。因为简单我直接贴代码! 代码如下: #include #include #include using namespace std; int原创 2011-07-21 14:47:13 · 471 阅读 · 0 评论