Problem D: Power Strings
Given two strings a and b we define a*b to be
their concatenation. For example, if...
(詳全文)
發表時間:2012-02-22 07:19:35 | 回應:1
Periodic Strings
A character string is said to have period k if it can be formed by concatenating one or...
(詳全文)
發表時間:2012-02-22 07:06:46 | 回應:0
Minimal coverage
The Problem
Given several segments of line (int the X axis) with coordinates
[Li,Ri]...
(詳全文)
發表時間:2012-02-18 14:31:01 | 回應:0
Problem G
SHOPPING TRIP
For some reason, Daniel loves to collect and watch operas on DVD. He can find ...
(詳全文)
發表時間:2012-01-29 21:37:15 | 回應:0
Problem E
Collecting Beepers
Input: standard input
Output: standard output
Time Limit: 2 seconds
Karel ...
(詳全文)
發表時間:2012-01-29 16:52:06 | 回應:0
Magic Numbers
Write a program that finds and displays all pairs of
integers and such that:
neithe...
(詳全文)
發表時間:2012-01-29 14:35:19 | 回應:0
Problem B
Number Sequence
Input: standard input
Output: standard output
Time Limit: 1 second
A sing...
(詳全文)
發表時間:2012-01-29 13:32:59 | 回應:0
Problem A: How do you add?
Larry is very bad at math - he usually uses a calculator, which worked well ...
(詳全文)
發表時間:2012-01-29 12:41:42 | 回應:3
Problem D: Dark roads
Economic times these days are tough, even in Byteland. To reduce the
operating cos...
(詳全文)
發表時間:2012-01-29 10:40:30 | 回應:0
Problem D
Re-connecting Computer Sites
Consider the problem of selecting a set T of high-speed ...
(詳全文)
發表時間:2012-01-29 09:52:17 | 回應:0
Problem D
Re-connecting Computer Sites
Consider the problem of selecting a set T of high-speed ...
(詳全文)
發表時間:2012-01-29 09:11:50 | 回應:0
Network Connections
Bob, who is a network administrator, supervises a network of computer...
(詳全文)
發表時間:2012-01-26 22:33:19 | 回應:0
Problem J
The Closest Pair Problem
Input: standard input
Output: standard output
Time Limit: 8 seconds...
(詳全文)
發表時間:2012-01-26 21:45:11 | 回應:0
Parentheses Balance
You are given a string consisting of parentheses () and []. A
string of this ...
(詳全文)
發表時間:2012-01-26 17:56:54 | 回應:0
Eeny Meeny Moo
Surely you have made the experience that when too many people use the Internet simultaneousl...
(詳全文)
發表時間:2012-01-26 16:18:39 | 回應:0