I am trying to calculate very large numbers factorial in cpp. But I encountered several problems:
- The biggest number in cpp is: unsigned long long. 18,446,744,073,709,551,615 which is quite small for my task.
- I used arrays like this way but I get runtime error.
- Then I used this idea, I get result on my local system but I got compile error while uploading it on the autograder.
Do you have any other idea? I almost tried everything but 7000! is very very large!