foo.cc: In function 'void fdij()':
foo.cc:27:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
27 | for (int i=1;i<=n;i++) dis[i] = INF, vi[i] = false, pre[i] = 0; dis[1] = 0;
| ^~~
foo.cc:27:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
27 | for (int i=1;i<=n;i++) dis[i] = INF, vi[i] = false, pre[i] = 0; dis[1] = 0;
| ^~~
foo.cc: In function 'void dij()':
foo.cc:48:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
48 | for (int i=1;i<=n;i++) dis[i] = INF, vi[i] = false; dis[1] = 0;
| ^~~
foo.cc:48:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
48 | for (int i=1;i<=n;i++) dis[i] = INF, vi[i] = false; dis[1] = 0;
| ^~~
foo.cc: In function 'int main()':
foo.cc:67:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
67 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:73:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
73 | scanf("%d %d %d", &x, &y, &z);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务