北航2018年机试

1.相似贪心的最大线段拼接? 2.按要求输入倒立三叉树,求层次最高且分叉最多的节点的编号和其在后序遍历中的次序。 #include <cstdio> #include <cstring> #include <algorithm> #include <cstdlib> using namespace std ; typedef long long ll; struct node{ int i
相关文章
相关标签/搜索