odasiljaci.cpp: In function 'int main()':
odasiljaci.cpp:50:17: warning: format '%lf' expects argument of type 'double', but argument 2 has type '__gnu_cxx::__promote_2<long double, double, long double, double>::__type' {aka 'long double'} [-Wformat=]
50 | printf("%.9lf\n",pow((long double)ans, 0.5)/2);
| ~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| double __gnu_cxx::__promote_2<long double, double, long double, double>::__type {aka long double}
| %.9Lf
odasiljaci.cpp:29:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
29 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
odasiljaci.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
31 | scanf("%d%d",&x[i],&y[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~