Professional Documents
Culture Documents
Competitive programming
junior training
Problem solving strategies
Homework problems
TheTower
TheTower
Hyperclock
0
0
4
3
1
2
0
2
0
0
4
3
1
2
1
2
4
The problem
1
3
01 2 3 4
0
3
0
1 1
1
2
(0, 0)
(0, 3)
(0, 1)
0
1
2
(2, 0)
Chip construction
For each row, we can find how many 1xL shapes that
start in this row (using the number of 1x1 shapes and
the information from previous rows).
Circles
Solution
Special lines
LittleElephantAndString
Example
ABC
CBA
A: ABMKOOFRN!
B: OMABKOFRN!
ABMKOOFRN!
M O!
AB K OFRN!
OMABKOFRN!
M O!
AB K OFRN!
OMABKOFRN!
Problems
Session
Circles
LittleElephantAndStrings(http://community.topcoder.com/stat?
c=problem_statement&pm=12854)
Homework
TaroFriends (http://community.topcoder.com/stat?
c=problem_statement&pm=13005)
MysticAndCandies (http://community.topcoder.com/stat?
c=problem_statement&pm=12997)