Codeforces Codeforces-Round-#258 competition A-Game-With-Sticks, B-Sort-the-Array, C-Predict-Outcome-of-the-Game
Codeforces Codeforces-Round-#258 after-competition D-Count-Good-Substrings