/in/foo.cc: In function 'int SPFA(int&, int&)':
/in/foo.cc:52:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<dir[t].size();i++)
~^~~~~~~~~~~~~~
/in/foo.cc:72:17: warning: 'z' may be used uninitialized in this function [-Wmaybe-uninitialized]
int x,y,z;
^
/in/foo.cc:85:9: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(y)
^~
/in/foo.cc:87:20: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
y++;x++;
^