New codeforces solutions