/in/foo.cc: In function 'int spfa(int)':
/in/foo.cc:23:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[i].size();j++)
~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:63:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=1;i<=n;i++) //找dis中最大的即为最短时间
^~~
/in/foo.cc:66:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(maxx==0x3f3f3f3f)
^~
/in/foo.cc:48:9: warning: unused variable 's' [-Wunused-variable]
int s,e;
^
/in/foo.cc:48:11: warning: unused variable 'e' [-Wunused-variable]
int s,e;
^