广度优先搜索(wfs)模板

  #include <stdio.h> #include <iostream> using namespace std; struct note{ int x; int y; }; int main() { note que[2501];//que作为存放所走过的每一个中心点,即岛屿面积 int head,tail;//head,tail作为评判标准;判断是否将此区域的所有岛屿小格子
相关文章
相关标签/搜索