why my code showing copmile error ? it work in my system

http://www.codechef.com/viewsolution/6340759

cmath in place of math.h may be the answer