Solutions to codeforces questions.