spoj.pl/problems/UJ/
how to calculate 1000^2500 as its getting out of the range of long double and also i cant use string class as its mentioned code should be less than 512Bsomeone plz help me... thnx in advance