tips:the chinese problem is the basic level of pat ,neverthless And it makes sense that it isput under the dir of pat./*firstly: sort the array using ...
分类:
其他好文 时间:
2014-09-12 11:50:03
阅读次数:
219
室友在做于是也做一发,跟已知两种遍历序列还原二叉树的思路类似,感觉PAT上的题目跟书本知识靠的近一些#include #include #include using namespace std;void print_data(const vector &as, const vector &ns) {...
分类:
其他好文 时间:
2014-09-12 01:11:52
阅读次数:
254
使用版本:kafka_2.10-0.8.1.1安装:tar -zxvf kafka_2.10-0.8.1.1.tgz -C ~/app/添加环境变量:.bash_profileexport KAFKA_HOME=/home/spark/app/kafka_2.10-0.8.1.1export PAT...
分类:
其他好文 时间:
2014-09-10 17:18:30
阅读次数:
231
PAT 1086 Tree Traversals Again题目:An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that wh...
分类:
其他好文 时间:
2014-09-07 11:02:25
阅读次数:
183
PAT 1085 Perfect Sequence 题目:Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if ...
分类:
其他好文 时间:
2014-09-07 11:01:24
阅读次数:
245
PAT 1087 All Roads Lead to Rome题目:Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the rout...
分类:
其他好文 时间:
2014-09-07 10:59:14
阅读次数:
198
PAT 1084 Broken Keyboard题目:On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those...
分类:
其他好文 时间:
2014-09-07 10:54:05
阅读次数:
234
PAT (Basic Level) Practise (中文)
分类:
其他好文 时间:
2014-09-05 21:08:12
阅读次数:
207
想要锻炼自己的代码能力,看自己能否用最简练的代码AC。下面开始:1006简单的字符转换没什么难度 1 #include 2 using namespace std; 3 int main(){ 4 int n; 5 cin >> n; 6 int bai,shi,ge; 7 ...
分类:
其他好文 时间:
2014-09-02 19:50:45
阅读次数:
166
PAT (Basic Level) Practise (中文)
分类:
其他好文 时间:
2014-09-01 22:34:53
阅读次数:
225