Code - https://ide.codingblocks.com/s/36086
Question - https://hack.codingblocks.com/contests/c/509/184
Working in sublime and cb ide but failing while submitting it.
Is mirror inverse wrong output
Some corner cases get missed when checking the number like this in the loop.
Instead make a separate function, and find the inverse of the number, then compare it with original number to get the correct answer.
I can’t understand what you mean by that ?
https://ide.codingblocks.com/s/37104
I have made changes in your code.
Now it passes all the test cases.
There was a small mistake in indexing.
Thanks Bhaiya 