1076. Forwards on Weibo (30)--和层数有关的最好用bfs,用dfs容易不然出现短路或者环的情况_1076 forwards on weibo-CSDN博客网友收藏

1076. Forwards on Weibo (30)--和层数有关的最好用bfs,用dfs容易不然出现短路或者环的情况_1076 forwards on weibo-CSDN博客

文章浏览阅读347次。#include <cstdio>#include <cstdlib>#include <iostream>#include <algorithm>#include <string>#include <cstring>#include <vector>#include <queue&a_1076 forwards on wei......
阅读全文