mobile.cpp: In function 'int main()':
mobile.cpp:15:12: error: 'l' was not declared in this scope
15 | double l=0.00,r=1.5e9;
| ^
mobile.cpp:15:19: error: 'r' was not declared in this scope
15 | double l=0.00,r=1.5e9;
| ^
mobile.cpp:17:16: error: 'mid' was not declared in this scope
17 | double mid=(l+r)/2;
| ^~~
mobile.cpp:18:16: error: 'cur' was not declared in this scope
18 | double cur=0;
| ^~~
mobile.cpp:20:20: error: 'd' was not declared in this scope
20 | double d=sqrt(mid*mid-y[i]*y[i]);
| ^
mobile.cpp:21:20: error: 'a' was not declared in this scope
21 | double a=x[i]-d,b=x[i]+d;
| ^
mobile.cpp:21:29: error: 'b' was not declared in this scope
21 | double a=x[i]-d,b=x[i]+d;
| ^