Doubt in a ques

code-https://ide.codingblocks.com/s/378149
ques-https://hack.codingblocks.com/app/contests/1960/170/problem

Hey @aaliyah_beg
U cant input them as integers because length of coming number can be 100 digits
which u can hold in integer data tyoe

u have to input them as string and then solve :slight_smile:

Hey @aaliyah_beg
Do u need help in this ?

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.

Sir can i use long long int instead

No long long cant also hold 100 digits
Use strings

okay sir , understood! but shouldnt it work for weak test cases— code-https://ide.codingblocks.com/s/378149

No
Because long long will not save 0010 it will save 10 instead