WALL-getting WA

can anyone give me a reason why my code is getting WA

submission

not even for the first 34 points…
i done the same thing as editorial
area=(0.5*X[N-1]*H)