Getting Wrong ans on submission on SPOJ

getting wrong answer when i am submitting my code on SPOJ, please check what is the wrong in the code

@shivamgoel150 it is now accepted


you ignored an edge case of n==0,
also consider area at last!