Problem Link: CodeChef: Practical coding for everyone
Shouldn’t the constraints have n>=2? or the output format contain the case for the undefined result for when n is 1.
Problem Link: CodeChef: Practical coding for everyone
Shouldn’t the constraints have n>=2? or the output format contain the case for the undefined result for when n is 1.