原创 Pat(A) 1093. Count PAT's (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1093 1093. Count PAT’s (25) The string APPAPT contains tw

原创 C++全局變量值被修改

2017年9月9日晚,在做PAT甲級1103 Integer Factorization (30)一題時碰到一個問題,測試點5總是過不去。後來經過10號晚上反覆測試發現其中一個全局變量的值在執行某個函數是被莫名修改了。 爲驗證全局

原创 PAT(A) 1064. Complete Binary Search Tree (30)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1064 1064. Complete Binary Search Tree (30) A Binary Search

原创 PAT(A) 1063. Set Similarity (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1063 1063. Set Similarity (25) Given two sets of integers,

原创 PAT(A) 1062. Talent and Virtue (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1062 1062. Talent and Virtue (25) About 900 years ago, a Ch

原创 PAT(A) 1133. Splitting A Linked List (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1133 1133. Splitting A Linked List (25) Given a singly linked

原创 PAT(A) 1123. Is It a Complete AVL Tree (30)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1123 1123. Is It a Complete AVL Tree (30) An AVL tree is a se

原创 PAT(A) 1117. Eddington Number(25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1117 1117. Eddington Number(25) “British astronomer Eddington

原创 PAT甲級解題目錄

PAT甲級解題目錄 ID Title C/C++題解 1001 A+B Format (20) 查看題解 1061 Dating (20) 查看題解 1062 Talent and Virtue (25) 查看題

原创 PAT(A) 1125. Chain the Ropes (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1125 1125. Chain the Ropes (25) Given some segments of rope,

原创 PAT(A) 1135. Is It A Red-Black Tree (30)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1135 1135. Is It A Red-Black Tree (30) There is a kind of bal

原创 PAT(A) 1119. Pre- and Post-order Traversals (30)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1119 1119. Pre- and Post-order Traversals (30) Suppose that a

原创 PAT(A) 1134. Vertex Cover (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1134 1134. Vertex Cover (25) A vertex cover of a graph is a s

原创 PAT(A) 1126. Eulerian Path (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1126 1126. Eulerian Path (25) In graph theory, an Eulerian pa

原创 PAT(A) 1122. Hamiltonian Cycle (25)

原題目: 原題鏈接:https://www.patest.cn/contests/pat-a-practise/1122 1122. Hamiltonian Cycle (25) The “Hamilton cycle problem