/in/foo.cc: In function 'bool dfs(int)':
/in/foo.cc:24:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (vis[v]) continue; vis[v]=1;
^~
/in/foo.cc:24:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (vis[v]) continue; vis[v]=1;
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:35:57: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'float*' [-Wformat=]
for (int i=1; i<=n; i++) scanf("%lf%lf",&x[i], &y[i]);
~~~~~ ^
/in/foo.cc:35:57: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'float*' [-Wformat=]
/in/foo.cc:36:65: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'float*' [-Wformat=]
for (int i=1; i<=m; i++) scanf("%lf%lf%lf",&a[i],&b[i],&c[i]);
~~~~~ ^
/in/foo.cc:36:65: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'float*' [-Wformat=]
/in/foo.cc:36:65: warning: format '%lf' expects argument of type 'double*', but argument 4 has type 'float*' [-Wformat=]