![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
搜索(bfs
文章平均质量分 81
qz13110802018
这个作者很懒,什么都没留下…
展开
-
bfs,dfs(回溯路径)倒水
E - ETime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3414DescriptionYou are given two pots, having the volume of A and B li原创 2014-08-20 21:38:15 · 432 阅读 · 0 评论 -
pots(倒水问题)
C - CTime Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %lluSubmit Status Practice SDUTOJ 2780DescriptionYou are given two pots, having the volume of A and B lit原创 2014-08-19 21:19:28 · 573 阅读 · 0 评论 -
找牛
D - DTime Limit:2000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64uSubmit Status Practice POJ 3278DescriptionFarmer John has been informed of the location of a fugi原创 2014-08-20 21:40:24 · 341 阅读 · 0 评论 -
找朋友(bfs)搜索(还有队列思想)
找朋友Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^题目描述X,作为户外运动的忠实爱好者,总是不想呆在家里。现在,他想把死宅Y从家里拉出来。问从X的家到Y的家的最短时间是多少。为了简化问题,我们把地图抽象为n*n的矩阵,行编号从上到下为1 到 n,列编号从左到右为1 到 n。矩阵中’X’原创 2014-08-28 15:35:40 · 358 阅读 · 0 评论