Power Crisis
During the power crisis in New Zealand this winter (caused by a
shortage of rain and hence lo...
(詳全文)
發表時間:2012-01-26 16:17:48 | 回應:0
I I U P C 2 0 0 6
Problem F: Fi-binary Number
Input: standard input
Outpu...
(詳全文)
發表時間:2012-01-12 20:03:08 | 回應:0
Flip Sort
Sorting in computer science is an important part. Almost every problem can be solved
effeciently...
(詳全文)
發表時間:2012-01-12 19:45:39 | 回應:0
Problem H
Relational Operators
Input: Standard Input
Output: Standard
Output
Some operators chec...
(詳全文)
發表時間:2012-01-12 19:44:33 | 回應:0
Problem K
Ternary
Input: Standard Input
Output: Standard Output
You will be given a decimal number. ...
(詳全文)
發表時間:2012-01-12 19:42:41 | 回應:0
Problem E
All in All
Input: standard input
Output: standard output
Time Limit: 2 seconds
Memory...
(詳全文)
發表時間:2012-01-12 17:25:42 | 回應:0
I Love Big Numbers !
The Problem
A Japanese young girl went to a Science Fair
at Tokyo. There sh...
(詳全文)
發表時間:2012-01-12 17:23:57 | 回應:0
The Decoder
Write a complete program that will correctly decode a set of
characters into a valid message. ...
(詳全文)
發表時間:2012-01-12 17:22:37 | 回應:0
Big Mod
Calculate
for large values of B, P, and M using an efficient algorithm.
(That's right, t...
(詳全文)
發表時間:2012-01-12 17:21:08 | 回應:0
Combinations
Computing the exact number of ways that N things can be taken M at a
time can be a great chal...
(詳全文)
發表時間:2012-01-12 16:46:49 | 回應:0
Perfection
From the article Number Theory in the 1994 Microsoft Encarta: ``If
a, b, c are integers such th...
(詳全文)
發表時間:2012-01-12 16:44:17 | 回應:0
Continued Fractions
Let
b0, b1, b2,..., bn be integers with bk > 0 for k > 0. The continued f...
(詳全文)
發表時間:2012-01-12 16:42:23 | 回應:0
Self Numbers
In 1949 the Indian mathematician D.R. Kaprekar discovered a class
of numbers called sel...
(詳全文)
發表時間:2011-12-18 20:35:48 | 回應:0
Humble Numbers
A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, ...
(詳全文)
發表時間:2011-12-18 20:19:04 | 回應:0
Ugly Numbers
Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence
1, 2, 3, 4...
(詳全文)
發表時間:2011-12-18 20:12:15 | 回應:0