
水题
细数风雨
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
B - Security Guards Gym - 101954B 前缀和
这个题其实想了好一会才想到满足复杂度的前缀和,其实可以用bfs做,没想到真是太傻了,虽然想到了因为数组越界的问题wa了,就找不出错来,后来才想到数组越界。 #include<cstring> #include<cstdlib> #include<algorithm> #include<cstdio> using namespace std; int ...原创 2019-11-08 14:59:59 · 268 阅读 · 0 评论 -
sdut数据结构实验之栈与队列十:走迷宫 栈的解法
我发现网上的题解都是dfs,我来个栈的。就是用栈来模拟dfs,也挺简单的,思路很像。 #include<cstring> #include<cstdio> #include<algorithm> #include<cstdlib> using namespace std; const int maxn = 1e5 + 7; int mp[10][1...原创 2019-09-24 09:59:34 · 585 阅读 · 0 评论 -
存个bm线性递推模板
#include <cstdio> #include <cstring> #include <cmath> #include <algorithm> #include <vector> #include <string> #include <map> #include <set> #include &l...原创 2019-09-28 20:52:09 · 181 阅读 · 0 评论