Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:
其他好文 时间:
2019-09-06 22:39:34
阅读次数:
112
Problem Description Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a ...
分类:
其他好文 时间:
2019-08-18 11:52:07
阅读次数:
386
There is an interesting and simple one person game. Suppose there is a number axis under your feet. You are at point A at first and your aim is point ...
分类:
其他好文 时间:
2019-08-11 20:44:18
阅读次数:
130
1119 Pre- and Post-order Traversals (30 分) 1119 Pre- and Post-order Traversals (30 分) 1119 Pre- and Post-order Traversals (30 分) Suppose that all the ...
分类:
其他好文 时间:
2019-08-11 01:11:46
阅读次数:
60
1127 ZigZagging on a Tree (30 分) 1127 ZigZagging on a Tree (30 分) 1127 ZigZagging on a Tree (30 分) Suppose that all the keys in a binary tree are dist ...
分类:
其他好文 时间:
2019-08-09 01:49:30
阅读次数:
115
1014 Waiting in Line (30 分) 1014 Waiting in Line (30 分) 1014 Waiting in Line (30 分) Suppose a bank has N windows open for service. There is a yellow l ...
分类:
其他好文 时间:
2019-08-03 00:12:05
阅读次数:
134
Several currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and performs exchang ...
分类:
编程语言 时间:
2019-07-30 00:55:34
阅读次数:
150
1、AOPS论坛 2、匈牙利语版本 3、英文版本 4、其它试题 Suppose that $f: \mathbb{R}^+ \to \mathbb{R}^+$ is a continuous function such that for all positive real numbers $x,y$ ...
分类:
其他好文 时间:
2019-07-23 00:03:09
阅读次数:
120
E - Currency Exchang 题目链接:https://vjudge.net/contest/66569#problem/E 题目: Several currency exchange points are working in our city. Let us suppose that ...
分类:
其他好文 时间:
2019-07-19 21:17:11
阅读次数:
416
Source: PAT A1020 Tree Traversals (25 分) Description: Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder a ...
分类:
其他好文 时间:
2019-06-30 15:54:38
阅读次数:
86