Sum of digits codeforces beta round #79

sir, i tried solving the following question:
https://codeforces.com/contest/102/problem/B

and i tried to submit the following code for it:

can you please explain me why we cant solve this question using long long or int.

Hey @aman17nov1999
Input
The first line contains the only integer n (0 ≤ n ≤ 10^100000).

See n is a number with 10^5 digits
U cant store it in long long or int data type

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.