Feedback for BMCV2C09 problem

Learning course: C++ for problem solving - 2
Problem Link: CodeChef: Practical coding for everyone


The solution given by the code chef is wrong. It doesn’t work on all kind of inputs, especially double digits.

@jagannadh_0010 - can you give an example.
To our knowledge, the solution is correct.