poj1154

来源:互联网 发布:杭州seo顾问 编辑:程序博客网 时间:2024/05/22 05:04
/* * poj1154.cpp * * Created on: 2010-8-9 * Author: friendy *///有点水#include#include#includeusing namespace std;//一个对递归不太明白的我,今天竟然写出了2A的程序。char str[50][50];int used[27];int cnt,mmax;int m,n;void dfs(int x,int y){if(!used[str[x][y]-'A']){used[str[x][y]-'A']=1;cnt++;if(x-1>=0)dfs(x-1,y);if(y-1>=0)dfs(x,y-1);if(x+1
  • poj1154
  • POJ1154
  • POJ1154
  • POJ1154 深搜水题
  • POJ2488 -- POJ1154-- DFS
  • POJ1154--LETTERS(DFS)
  • poj1154(大水题)
  • POJ1154(DFS回溯)
  • poj1154 dfs 深度搜索 集合
  • poj1154解题报告(dfs)
  • poj1154 连通分量 简单深搜
  • http状态码
  • 条件运算符?:
  • 解决vs2010 新建项目报错:写入项目文件时出错 没有注册类别
  • 仅仅Spring+hibernate系统架构为什么不可取
  • table align="center" firefox 火狐中失效的解决方法
  • poj1154
  • 模拟器能运行,真机不能运行
  • [原创]JWFD工作流引擎设计--简单矩阵建模与应用(初步讨论)
  • 迷茫中的希望
  • 白领的一天:旅游问路实用口语
  • 转贴:解释不错的,关于OO
  • 用qemu-nbd实现mount虚拟硬盘到Host上的功能
  • c运算符优先级(转)
  • 白领的一天:日常聊天卡壳了怎么办
  • 原创粉丝点击