codeforce r245