Solutions for Code Forces problems