![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索
Star77777
信息学
展开
-
HDU - 1312 Red and Black 搜索DFS
Red and Black HDU - 1312 找到@,搜索四个方向#include <algorithm>#include <iostream>#include <cstring>#include <cstdio>#include <string>#include <vector>#include <c...原创 2018-04-16 20:08:35 · 164 阅读 · 0 评论 -
HDU - 1241 Oil Deposits 搜索dfs
B - Oil Deposits HDU - 1241 遍历所有点,求出连通块的数量#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>//#include <map>#include <set>#include ...原创 2018-04-16 20:17:21 · 173 阅读 · 0 评论 -
LightOJ - 1337 The Crystal Maze
输出输入较大,注意用scanf,printf,否则可能超时#include <cstdio>#include <cstring>#include <iostream>#include <algorithm>//#include <map>#include <set>#include <vector>#原创 2018-04-17 00:32:59 · 302 阅读 · 0 评论