摘要: #include <iostream> #include <vector> #include <string> #include <cstring> #include <queue> #include <stack> #define MAX 999 using namespace std; int 阅读全文
posted @ 2020-12-15 17:45 ananasaa 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 一定要注意,外部变量【数组】开的大小,太大了会溢出,太小了提交的时候会溢出,这是一门学问啊 #include <iostream> #include <vector> #include <string> #include <queue> #include <cstring> #define MAX 阅读全文
posted @ 2020-12-14 21:28 ananasaa 阅读(99) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string> #include <cstring> #define MAX 10000 using namespace std; int tree[MAX]; void preverse(int x) 阅读全文
posted @ 2020-12-14 19:40 ananasaa 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> #include <string> #include <queue> #include <cstring> #define MAX 10000 using namespace std; struct tree { int d 阅读全文
posted @ 2020-12-14 19:37 ananasaa 阅读(157) 评论(0) 推荐(0) 编辑
摘要: ①用递归做,会超时 #include <iostream> #include <string> #include <stack> #include <queue> using namespace std; int maze[1005][1005]; int mark[1005][1005]; int 阅读全文
posted @ 2020-11-17 13:38 ananasaa 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-12 18:54 ananasaa 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-12 12:38 ananasaa 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-05 23:13 ananasaa 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-04 15:00 ananasaa 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-11-04 09:53 ananasaa 阅读(217) 评论(0) 推荐(0) 编辑