#include <stdio.h>
#include <math.h>
double f(double x){
}
int main(void) {
double Tm,L=1,h,ci;
int i,No,m;
for(No=1;No<50;No++){
Tm=0;
m=No;
ci=-L+h;
h=2*L/m;
Tm=(f(-L)+f(L))/2;
for(i=1;i<m;i++){
Tm+=f(ci);
ci+=h;
}
Tm*=h;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+Cgpkb3VibGUgZihkb3VibGUgeCl7CglyZXR1cm4gZXhwKC14KngpOwp9CgppbnQgbWFpbih2b2lkKSB7Cglkb3VibGUgVG0sTD0xLGgsY2k7CglpbnQgaSxObyxtOwoKZm9yKE5vPTE7Tm88NTA7Tm8rKyl7CglUbT0wOwoJbT1ObzsKCWNpPS1MK2g7CiAgICBoPTIqTC9tOwoJVG09KGYoLUwpK2YoTCkpLzI7Cglmb3IoaT0xO2k8bTtpKyspewoJCVRtKz1mKGNpKTsKCQljaSs9aDsKCX0KCVRtKj1oOwoJcHJpbnRmKCIlOGQgJS4xMmxmXG4iLE5vLFRtKTsKfQoJcmV0dXJuIDA7Cn0=