摘要: 题目传送门 其实,这是一道非常水的广搜。只是从二维变成了三维。格式还是没变的。 奉上代码(附注释) #include<bits/stdc++.h> using namespace std; const int dx[]={0,0,0,0,1,-1};//偏移数组,最后两个是上楼或下楼 const i 阅读全文
posted @ 2020-02-06 17:04 Stuch 阅读(126) 评论(0) 推荐(0)