洛谷 P1332 血色先锋队(BFS)

题目连接node 题记:简单BFS。ios #include<iostream> #include<cstring> #include<queue> using namespace std; const int N=510,M=1e5+10; int n,m,a,b; int vis[N][N]; int s[M][3]; int maps[N][N]; int dis[][2]={0,1,1,
相关文章
相关标签/搜索