![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PAT题解 C++
文章平均质量分 88
Daniel_2046
这个作者很懒,什么都没留下…
展开
-
[PAT] Heap 判断大小根堆
题目如下:1147 Heaps(30 分)In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is either greate...原创 2018-07-08 22:54:36 · 1763 阅读 · 1 评论 -
[PAT] Topological Order 判断拓扑序列
题目在这,我就不翻译了。。。1146 Topological Order(25 分)This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtained from the given directed graph? Now y...原创 2018-07-08 23:13:20 · 667 阅读 · 0 评论 -
[PAT] Maximal Clique
题目如下1142 Maximal Clique(25 分)A clique is a subset of vertices of an undirected graph such that every two distinct vertices in the clique are adjacent. A maximal clique is a clique that cannot be exten...原创 2018-07-08 23:41:03 · 183 阅读 · 0 评论 -
[PAT] Perfect Sequence
题目Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if M <= m * p where M and m are the maximum and minimum numbers in the sequ...原创 2018-08-01 16:30:41 · 205 阅读 · 0 评论