[BZOJ2252]矩阵距离(BFS)
摘要:
题意 输入矩阵m行n列(m include using namespace std; int m,n; int a[505][505]; queue pointQ; int dis[505][505]; int dx[4]={0,0, 1,1}; int dy[4]={1, 1,0,0}; bool 阅读全文
posted @ 2019-04-16 09:50 coding_gaga 阅读(210) 评论(0) 推荐(0) 编辑