- 博客(1)
- 收藏
- 关注
原创 PAT甲级 1147 Heaps
PAT甲级 1147 Heaps PAT1147链接 题目大意 给定查询次数M和完全二叉树的结点个数N及每棵树的层序遍历,每次查询输出它的后序遍历,并判断是否为最大最小堆 # include<iostream> # include<cstring> # include<vector> using namespace std; const int maxn = 1010; vector<int>post; int layer[maxn]; //int Compl
2020-07-20 22:44:32 109
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人