0_0_30217642_25385.cpp: In function 'int main()':
0_0_30217642_25385.cpp:46:25: error: 'r' was not declared in this scope
double mid = (l + r) / 2.0;
^
0_0_30217642_25385.cpp:48:14: error: incompatible types in assignment of 'double' to 'int [100007]'
else l = mid + eps;
^
0_0_30217642_25385.cpp:50:22: error: 'r' was not declared in this scope
printf("%.6f\n", r);
^
|