摘要: 题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=1254 题解:以箱子为主体,第一层BFS,然后用第二层BFS来判断人是否可以到达,这里细节比较多,要注意 1 #include<cstdio> 2 #include<queue> 3 #include<c 阅读全文
posted @ 2016-05-13 00:57 bin_gege 阅读(146) 评论(0) 推荐(0) 编辑