Codeforces Codeforces-Round-#256 competition A-Rewards, B-Suffix-Structures
Codeforces Codeforces-Round-#256 after-competition C-Painting-Fence, D-Multiplication-Table