I used unsigned long long int. But it didn’t help.
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
How big is the number? Provide an example.
Since you haven’t specifies the language you are using… There are multiple ways to handle large values:
- Use Python
- Use Java’s BigInteger class.
- Use Custom BIginteger class in cpp