BFS
文章平均质量分 82
tjx_belief
这个作者很懒,什么都没留下…
展开
-
***POJ 3669 Meteor Shower【流星雨】
原文链接 Description Bessie hears that an extraordinary meteor shower is coming; reports say that these meteors will crash into earth and destroy anything they hit. Anxious for her safety, she vows to fi原创 2017-02-21 21:43:31 · 309 阅读 · 0 评论 -
POJ 1979 Red and Black
原题链接思路:经典深搜AC代码:#include <iostream> #include <cstdio> #include <algorithm> #include <cstdlib> #include <cstring> #include <queue> using namespace std;//与POJ_2386水洼题相似 //dfs深度优先搜索 int ans,dis[21][21],原创 2017-03-13 23:12:06 · 148 阅读 · 0 评论