how to store 10^1000 in c? not even unsigned long long can store it…plz help
2 Likes
you need to use character array or strings to store such large numbers.
It is not possible to store such a large number in c/c++. So we use string for this.
If you haven’t used it before now to solve problems you can try CodeChef: Practical coding for everyone .