二叉排序树
Time Limit: 1000MS Memory limit: 65536K
题目描述
二叉排序树的定义是:或者是一棵空树,或者是具有下列性质的二叉树: 若它的左子树不空,则左子树上所有结点的值均小于它的根结点的值; 若它的右子树不空,则右子树上所有结点的值均大于它的根结点的值; 它的左、右子树也分别为二叉排序树。 今天我们要判断两序列是否为同一二叉排序...
分类:
编程语言 时间:
2014-11-18 01:40:38
阅读次数:
243
Radar Installation
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 54798
Accepted: 12352
Description
Assume the coasting is an infinite straight line. La...
分类:
其他好文 时间:
2014-11-18 01:40:09
阅读次数:
255
Wireless Network
Time Limit: 10000MS
Memory Limit: 65536K
Total Submissions: 16832
Accepted: 7068
Description
An earthquake takes place in Southeast Asia. The ACM (...
分类:
Web程序 时间:
2014-11-18 01:40:07
阅读次数:
223
Most PowerfulTime Limit: 2 Seconds Memory Limit: 65536 KBRecently, researchers on Mars have discovered N powerful atoms. All of them are different. Th...
分类:
其他好文 时间:
2014-11-18 01:34:47
阅读次数:
208
Calendar GameTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2766Accepted Submission(s): 1594Probl...
分类:
其他好文 时间:
2014-11-18 01:31:57
阅读次数:
109
TravellingTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4166Accepted Submission(s): 1339 Proble...
分类:
其他好文 时间:
2014-11-18 01:30:08
阅读次数:
156
A Knight's Journey
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 31702
Accepted: 10813
Description
Background
The knight is getting bored of seeing the...
分类:
其他好文 时间:
2014-11-18 00:26:01
阅读次数:
168
GCD & LCM Inverse
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 9928
Accepted: 1843
Description
Given two positive integers a and b, we can easily calc...
分类:
编程语言 时间:
2014-11-18 00:25:02
阅读次数:
241
Pseudoprime numbers
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6645
Accepted: 2697
Description
Fermat's theorem states that for any prime number p a...
分类:
其他好文 时间:
2014-11-18 00:21:47
阅读次数:
250
when we write a program, cpu and memory usages are very important to indicate the stability of the program. Once the cpu usage reached 90%, there are ...
分类:
其他好文 时间:
2014-11-18 00:11:38
阅读次数:
167