Competitive programming problems solutions