摘要: 视频链接:B18 双向BFS Nightmare_哔哩哔哩_bilibili HDU3085 Nightmare Ⅱ #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #define x first #def 阅读全文
posted @ 2023-06-04 20:53 董晓 阅读(771) 评论(0) 推荐(3)
摘要: 视频链接:B17 双端队列BFS Switch the Lamp On_哔哩哔哩_bilibili Luogu P4667 [BalticOI 2011 Day1]Switch the Lamp On #include <cstring> #include <iostream> #include < 阅读全文
posted @ 2023-06-04 17:57 董晓 阅读(873) 评论(0) 推荐(2)
摘要: 视频链接:B16 BFS 魔板_哔哩哔哩_bilibili Luogu P2730 [USACO3.2]魔板 Magic Squares #include<bits/stdc++.h> using namespace std; string es; //目标串 queue<string> q; // 阅读全文
posted @ 2023-06-04 17:29 董晓 阅读(749) 评论(0) 推荐(0)
摘要: 视频链接:B15 BFS 抓住那头牛_哔哩哔哩_bilibili Luogu P1588 [USACO07OPEN]Catch That Cow S #include <cstring> #include <iostream> #include <algorithm> #include <queue 阅读全文
posted @ 2023-06-04 11:21 董晓 阅读(687) 评论(0) 推荐(1)