/in/foo.cc: In function 'int main()':
/in/foo.cc:13:8: error: 'sqrt' was not declared in this scope
13 | min = sqrt((x - a) * (x - a) + (y - b) * (y - b));
| ^~~~
/in/foo.cc:15:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'double*' [-Wformat=]
15 | while (scanf("%d%d",&x,&y)!=EOF)
| ~^ ~~
| | |
| int* double*
| %le
/in/foo.cc:15:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'double*' [-Wformat=]
15 | while (scanf("%d%d",&x,&y)!=EOF)
| ~^ ~~
| | |
| int* double*
| %le