I used unsigned long long int. But it didn’t help.
1 Like
(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)
1 Like
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
biginteger-cpp/BigInt.cpp at master · williamchanrico/biginteger-cpp · GitHub
2 Likes