摘要: #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 阅读(171) 评论(0) 推荐(0)
摘要: 一定要注意,外部变量【数组】开的大小,太大了会溢出,太小了提交的时候会溢出,这是一门学问啊 #include <iostream> #include <vector> #include <string> #include <queue> #include <cstring> #define MAX 阅读全文
posted @ 2020-12-14 21:28 ananasaa 阅读(104) 评论(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 阅读(156) 评论(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 阅读(164) 评论(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 阅读(115) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-12 18:54 ananasaa 阅读(88) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-12 12:38 ananasaa 阅读(62) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-05 23:13 ananasaa 阅读(166) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-04 15:00 ananasaa 阅读(91) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-11-04 09:53 ananasaa 阅读(233) 评论(0) 推荐(0)