Tree
You are to determine the value of the leaf node in a given binary tree
that is the terminal nod...
(詳全文)
發表時間:2012-06-08 22:11:06 | 回應:0
Border
You are to write a program that draws a border around a closed path
into a bitmap, as displayed in ...
(詳全文)
發表時間:2012-06-08 16:57:05 | 回應:0
Problem E: Compound Words
You are to find all the two-word compound words in a dictionary.
A two-wor...
(詳全文)
發表時間:2012-06-08 14:13:07 | 回應:0
Project Scheduling
A project management technique called Pert involves breaking a large
project into a ...
(詳全文)
發表時間:2012-06-08 13:39:54 | 回應:0
Problem A: Bits and Pieces
Let A and B be non-negative integers and let C = A&B and D = A|B.
Given C ...
(詳全文)
發表時間:2012-06-08 07:02:45 | 回應:0
Problem
A
Continents
Time Limit:
1 Second
Mijid the Great is the king of Dodars
territory. He ...
(詳全文)
發表時間:2012-06-08 06:35:47 | 回應:0
Problem H
Crossed Ladders
Input: Standard Input
Output: Standard Output
Time Limit: 1 Second
...
(詳全文)
發表時間:2012-06-07 21:54:03 | 回應:0
Water Falls
Consider the set of line segments P1, P2 and P3 of figure 1,
representing the side view ...
(詳全文)
發表時間:2012-06-07 21:35:17 | 回應:0
All Squares
Geometrically, any square has a unique, well-defined centre point. On
a grid this is only true...
(詳全文)
發表時間:2012-06-07 17:36:02 | 回應:0
Problem D: XYZZY
ADVENT: /ad´vent/, n.
The prototypical computer adventure game, first designed ...
(詳全文)
發表時間:2012-06-07 15:20:02 | 回應:0
Problem E
Connect the Campus
Input: standard input
Output: standard output
Time Limit: 2 seconds
Ma...
(詳全文)
發表時間:2012-06-07 08:01:09 | 回應:0
Stamps
The government of Nova Mareterrania requires that various legal
documents have stamps attached to t...
(詳全文)
發表時間:2012-06-06 22:07:02 | 回應:0
Problem D: The Necklace
My little sister had a beautiful necklace made of colorful beads. Two
succes...
(詳全文)
發表時間:2012-06-06 11:35:51 | 回應:0
DNA Sorting
One measure of ``unsortedness'' in a sequence is the number of
pairs of entries that are...
(詳全文)
發表時間:2012-06-06 07:08:52 | 回應:0
Problem B: Throwing cards away I
Given is an ordered deck of n cards numbered 1 to n
with card 1 at the...
(詳全文)
發表時間:2012-06-06 06:54:44 | 回應:0