### PAT题解

3 已关注
149篇博文
• #### PAT甲级解题报告索引

PAT甲级题目地址：https://www.patest.cn/contests/pat-a-practise PAT甲级代码Github仓库已经整理更新完毕，包含最新全部代码（C++），部分代码已...

2017-09-22 23:15
1126
• #### 1147. Heaps (30)

1147. Heaps (30) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; vector&amp;lt;int&amp;...

3小时前
5
• #### 1146. Topological Order (25)

1146. Topological Order (25) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; vector&amp...

3小时前
7
• #### 1145. Hashing - Average Search Time (25)

1145. Hashing - Average Search Time (25) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std...

3小时前
15
• #### 1144. The Missing Number (20)

1144. The Missing Number (20) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; int main(...

3小时前
16
• #### 1140. Look-and-say Sequence (20)

1140. Look-and-say Sequence (20) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; string...

前天 08:33
19
• #### 1141. PAT Ranking of Institutions (25)

1141. PAT Ranking of Institutions (25) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; ...

前天 08:37
44
• #### 1142. Maximal Clique (25)

1142. Maximal Clique (25) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; vector&amp;...

前天 08:54
21
• #### 1143. Lowest Common Ancestor (30)

1143. Lowest Common Ancestor (30) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; struc...

前天 09:50
85
• #### 1015. Reversible Primes (20)

A reversible prime in any number system is a prime whose “reverse” in that number system is also a p...

2016-08-29 15:19
235
• #### 1019. General Palindromic Number (20)

A number that will be the same when it is written forwards or backwards is known as a Palindromic Nu...

2016-08-29 16:01
247
• #### 1023. Have Fun with Numbers (20)

Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, wit...

2016-08-29 16:57
327
• #### 1027. Colors in Mars (20)

1027. Colors in Mars (20)#include void display(char sign[],int n); int main() { char sign[13]={'...

2016-09-06 09:39
121
• #### 1031. Hello World for U (20)

1031. Hello World for U (20)#include #include int Getn2(int N); int main() { char s[100]; in...

2016-09-06 10:08
137

1035. Password (20)#include #include #include struct stu { char name[15]; char password[15];...

2016-09-06 11:48
173
• #### 1041. Be Unique (20)

1041. Be Unique (20) #include #include #include using namespace std; int nums[10004],n,idx; ve...

2016-09-09 18:05
124
• #### 1042. Shuffling Machine (20)

1042. Shuffling Machine (20)#include #define N 54 void display(int a[]); int main() { int order[...

2016-09-09 18:46
114
• #### 1046. Shortest Distance (20)

1046. Shortest Distance (20) #include &amp;lt;bits/stdc++.h&amp;gt; using namespace std; int main...

2016-09-09 19:40
130
• #### 1011. World Cup Betting (20)

With the 2010 FIFA World Cup running, football fans the world over were becoming increasingly excite...

2016-08-29 10:59
293
• #### 1050. String Subtraction (20)

题目：1050. String Subtraction (20)#include #include #define N 10005 int main() { char s[N],ch; ...

2016-09-10 11:50
123

CCF CSP题解
5326158