Heads / Tails Probability
The probability of n heads in a row tossing a fair coin is 2-n. Calculate
...
(詳全文)
發表時間:2012-05-05 21:15:10 | 回應:0
F
- Hats
Background
John Hatman, the honest cloakroom attendant of the Royal
Theatre o...
(詳全文)
發表時間:2012-05-05 21:03:39 | 回應:0
Problem F
Solve It
Input: standard input
Output: standard
output
Time Limit: 1 second
Memo...
(詳全文)
發表時間:2012-05-05 20:43:13 | 回應:0
Problem F
Solve It
Input: standard input
Output: standard
output
Time Limit: 1 second
Memo...
(詳全文)
發表時間:2012-05-05 20:13:16 | 回應:0
Center of Masses
Find out the center of masses of a convex polygon.
Input
A series of convex...
(詳全文)
發表時間:2012-05-05 18:26:03 | 回應:0
Problem D
The Base-1 Number System
Input: Standard
Input
Output: Standard
Output
As w...
(詳全文)
發表時間:2012-05-04 20:23:42 | 回應:0
D
Help Dexter
You know Dexter, right? He is a very talented youn...
(詳全文)
發表時間:2012-05-04 20:11:23 | 回應:2
Problem I
Knuth’s Permutation
Input: standard input
Output: standard output
There...
(詳全文)
發表時間:2012-05-04 11:16:27 | 回應:0
G
February
29
It is 2012, and it's a leap year. So there is a...
(詳全文)
發表時間:2012-05-03 22:35:39 | 回應:0
The 3n + 1 problem
Background
Problems in Computer Science are often classified as belonging to a
certa...
(詳全文)
發表時間:2012-05-03 22:17:18 | 回應:0
Rotating Sentences
In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degree...
(詳全文)
發表時間:2012-05-03 18:29:56 | 回應:0
Marvelous Mazes
Your mission, if you decide to accept it, is to create a maze
drawing program. A maze wil...
(詳全文)
發表時間:2012-05-03 17:23:29 | 回應:0
Problem A: Letter Frequency
In this problem we are interested in the frequency of letters in a
given lin...
(詳全文)
發表時間:2012-05-03 17:04:58 | 回應:0
Problem E
Sending email
Time Limit: 3 seconds
"A new internet watchdog is creating a stir in
...
(詳全文)
發表時間:2012-05-03 08:57:31 | 回應:0
Walking on the Safe Side
Square City is a very easy place for people to walk around. The two-way
streets...
(詳全文)
發表時間:2012-05-03 06:55:08 | 回應:1