foo.cc: In function 'int main()':
foo.cc:11:25: error: 'c' was not declared in this scope
11 | min2=min(sqrt(fabs(a-c)*fabs(a-c)+ fabs(b-d)*fabs(b-d)),min2);
| ^
foo.cc:11:44: error: 'b' was not declared in this scope
11 | min2=min(sqrt(fabs(a-c)*fabs(a-c)+ fabs(b-d)*fabs(b-d)),min2);
| ^
foo.cc:11:46: error: 'd' was not declared in this scope
11 | min2=min(sqrt(fabs(a-c)*fabs(a-c)+ fabs(b-d)*fabs(b-d)),min2);
| ^
foo.cc:13:12: error: expected ';' before '}' token
13 | min1=min2
| ^
| ;
14 | }
| ~
[Hydro](https://hydro.ac)提供评测服务