摘要:
B:AIQP操作 考察:vector容器的基本操作 #include <iostream> #include <vector> #include <string> #include <algorithm> using namespace std; vector<int> v; int n, m; i 阅读全文
摘要:
2021 5:由二叉树前々序列和中々序列得到后々序列列 #include <iostream> #include <unordered_map> using namespace std; const int N = 50010; int n; int a[N], b[N]; //前序,中序 unor 阅读全文
摘要:
C:架线方案 考察:最小生成树 Prim解决: #include <iostream> #include <cstring> using namespace std; const int N = 1010, INF = 0x3f3f3f3f; int k, n, m; //k组数,n个城市,m条线 阅读全文