I am trying to do pow(2,500) in C++. But I think long long is not enough.
pow(2,500)
long long
Someone told me I can use gmp.h. But how do I do a pow(2,500) in gmp?
gmp.h
gmp
See Integer Exponentiation. Hint: choose either of the bottom two functions.