/in/foo.cc: In function 'void prim(int)':
/in/foo.cc:13:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (i=1;i<=n;++i)
^~~
/in/foo.cc:15:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
dij[s]=0;
^~~
/in/foo.cc:18:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (j=1;j<=n;++j)
^~~
/in/foo.cc:23:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
dij[k]=0;
^~~
/in/foo.cc:23:11: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
dij[k]=0;
~~~~~~^~