The xor-longest PathTime Limit:2000MSMemory Limit:65536KTotal Submissions:3875Accepted:850DescriptionIn an edge-weighted tree, the xor-length of a pat...
分类:
其他好文 时间:
2014-09-13 23:59:06
阅读次数:
434
pat 1085. Perfect Sequence (25)
时间限制
300 ms
内存限制
32000 kB
代码长度限制
16000 B
判题程序
Standard
作者
CAO, Peng
Given a sequence of positive integers...
分类:
其他好文 时间:
2014-09-13 04:08:14
阅读次数:
278
1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 using namespace std; 11 12 typedef pa...
分类:
其他好文 时间:
2014-09-13 02:59:14
阅读次数:
210
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