Its giving wrong answer
Ultra fast mathematician
@Mansi2103
Is is mentioned in the question that the lenght of the number is <=100 . Int can store upto 9 lengths(10^9) and long long can store upto 18 length(10^18). So you need to input the numbers as strings.
I have corrected your code. https://ide.codingblocks.com/s/192263
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.