What is wrong with my code ,not giving the perfect score?
actually the number can be quite large , therefore it wont fit into integer data type.
so you have to perform calculations using digits in an array
https://github.com/apaarkamal/launchpad_summer_2k19/tree/master/problems
see for help