0_0_25713579_2187.cpp: In function 'bool spfa()':
0_0_25713579_2187.cpp:33:30: error: expected primary-expression before '.' token
memset(vis, 0, sizeof(vis));.
^
0_0_25713579_2187.cpp:34:2: error: expected unqualified-id before 'for'
for(int i=1; i<MAXN; i++) dis[i]=INF;
^
0_0_25713579_2187.cpp:34:15: error: 'i' was not declared in this scope
for(int i=1; i<MAXN; i++) dis[i]=INF;
^
|