PAT题解

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

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

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

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

2018-03-21 18:39
75
• 1146. Topological Order (25)

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

2018-03-21 18:40
62
• 1145. Hashing - Average Search Time (25)

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

2018-03-21 18:42
150
• 1144. The Missing Number (20)

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

2018-03-21 18:43
74
• 1140. Look-and-say Sequence (20)

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

2018-03-19 08:33
45
• 1141. PAT Ranking of Institutions (25)

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

2018-03-19 08:37
81
• 1142. Maximal Clique (25)

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

2018-03-19 08:54
44
• 1143. Lowest Common Ancestor (30)

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

2018-03-19 09:50
148
• 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
245
• 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
256
• 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
338
• 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
130
• 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
141
• 1035. Password (20)

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

2016-09-06 11:48
186
• 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
129
• 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
118
• 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
147
• 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
314
• 1050. String Subtraction (20)

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

2016-09-10 11:50
133

CCF CSP题解
5329542