We suspect that for every positive integer N
there exists an integer of the form
11...10...0
(a sequen...
(詳全文)
發表時間:2012-07-09 19:52:37 | 回應:0
Problem G
The Tree Root
Input: standard input
Output: standard output
Time Limit: 4 seconds
...
(詳全文)
發表時間:2012-07-09 14:28:56 | 回應:0
Pascal's Triangle of Death
In this problem, you are asked to generate Pascal's Triangle. Pascal's Triangle ...
(詳全文)
發表時間:2012-07-06 09:07:02 | 回應:0
Points in Figures: Rectangles, Circles, and Triangles
Given a list of figures (rectangles, circles, and tri...
(詳全文)
發表時間:2012-07-06 08:50:04 | 回應:0
Matrix Chain Multiplication
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E a...
(詳全文)
發表時間:2012-07-06 08:22:58 | 回應:0
Problem A: Open Source
At an open-source fair held at a major university, leaders of
open-source projects pu...
(詳全文)
發表時間:2012-07-04 21:02:03 | 回應:0
Unix ls
The computer company you work for is introducing a brand new computer
line and is developing a ne...
(詳全文)
發表時間:2012-07-03 19:49:54 | 回應:0
LC-Display
A friend of you has just bought a new computer. Until now, the most
powerful computer he ...
(詳全文)
發表時間:2012-07-01 17:07:26 | 回應:0
I
- Very Big Perfect Squares
Background
An integer, n,
is called a
perfect square i...
(詳全文)
發表時間:2012-06-30 20:49:43 | 回應:0
Triangles
It is always very nice to have little brothers or sisters. You can tease them, lock them in...
(詳全文)
發表時間:2012-06-27 21:57:17 | 回應:0
Problem A
Almost Union-Find
I hope you know the beautiful Union-Find structure. In this problem, you'r...
(詳全文)
發表時間:2012-06-27 19:49:37 | 回應:0
Problem A
Recurrences
Input: standard input
Output: standard output
Consider recurrent functio...
(詳全文)
發表時間:2012-06-23 10:59:43 | 回應:0
Problem A: Railway
Problem
Railway is a broken line of N segments. The problem is to find such
a po...
(詳全文)
發表時間:2012-06-23 10:08:48 | 回應:0
Light and Transparencies
When light traverses a transparent film, some energy is absorbed
and the re...
(詳全文)
發表時間:2012-06-23 09:10:58 | 回應:1
Problem E
Excessive Space Remover
How do you remove consecutive spaces in a simple editor like notepad...
(詳全文)
發表時間:2012-06-22 19:42:52 | 回應:2