摘要: 一定要注意,外部变量【数组】开的大小,太大了会溢出,太小了提交的时候会溢出,这是一门学问啊 #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) 编辑