摘要: Catch That Cow http://poj.org/problem?id=3278 BFS 注:&& 前后顺序有影响,记得先判断范围,不然就越界了!! 代码 #include <iostream> #include <algorithm> #include <queue> #include 阅读全文
posted @ 2022-04-03 22:59 Sakana~ 阅读(16) 评论(0) 推荐(0) 编辑
摘要: POJ - 1321 A - 棋盘问题 POJ DFS 阅读全文
posted @ 2022-04-03 11:26 Sakana~ 阅读(22) 评论(0) 推荐(0) 编辑