/in/foo.cc: In function 'int main()':
/in/foo.cc:36:19: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'double' [-Wformat=]
scanf("%lf",x[i]);
^
/in/foo.cc:38:13: error: 'le' was not declared in this scope
double eps=le-5,l=-le6,r=le6,mid;
^~
/in/foo.cc:39:8: error: 'r' was not declared in this scope
while(r-l>eps)
^
/in/foo.cc:39:10: error: 'l' was not declared in this scope
while(r-l>eps)
^
/in/foo.cc:41:3: error: 'mid' was not declared in this scope
mid=(l+r)/2;
^~~
/in/foo.cc:46:15: error: 'le10' was not declared in this scope
double ans=-le10,minn=le10;
^~~~
/in/foo.cc:49:4: error: 'minn' was not declared in this scope
minn=min(minn,sum[i-l]);
^~~~
/in/foo.cc:57:14: error: 'r' was not declared in this scope
printf("%d",r*1000);
^