can anyone tell me how to deal with a number in range of -(10^9)^(10^9)<number<(10^9)^(10^9)…
No way dude!!! But, if you are facing this problem in some competition then they provide you with a mod x value by which you can reduce your answer. Otherswise, no way.
using logarithms for it works fine …thanx anyway