Chewbacca and Number

How can i store a number of range 10^18 in a variable?
long long int is not working.
I am not able to pass all the test cases.

hello @anshgoel_02

long long should work for 10^18.
anyway u can read the number as string and then u can solve it without any range issue

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.