My solution to Codeforces problems