0_0_14503357_29174.cpp: In function 'void relax(int)':
0_0_14503357_29174.cpp:11:6: error: 'i' was not declared in this scope
for(i=0;i<go[x].size;i++)
^
0_0_14503357_29174.cpp:12:7: error: 'fa' was not declared in this scope
if(!fa[v[go[x][i]]] && !ok[v[go[x][i]]])
^
0_0_14503357_29174.cpp:12:27: error: 'ok' was not declared in this scope
if(!fa[v[go[x][i]]] && !ok[v[go[x][i]]])
^
0_0_14503357_29174.cpp: In function 'int main()':
0_0_14503357_29174.cpp:22:21: error: 'fa' was not declared in this scope
for(i=1;i<=n;i++) fa[i]=ok[i]=dis[i]=0;
^
0_0_14503357_29174.cpp:22:27: error: 'ok' was not declared in this scope
for(i=1;i<=n;i++) fa[i]=ok[i]=dis[i]=0;
^
0_0_14503357_29174.cpp:22:33: error: 'dis' was not declared in this scope
for(i=1;i<=n;i++) fa[i]=ok[i]=dis[i]=0;
^
0_0_14503357_29174.cpp:27:3: error: 'ok' was not declared in this scope
ok[1]=1;
^
0_0_14503357_29174.cpp:28:3: error: 'dis' was not declared in this scope
dis[1]=0;
^
0_0_14503357_29174.cpp:32:7: error: 'fa' was not declared in this scope
if(fa[pre]){
^
0_0_14503357_29174.cpp:39:7: error: 'fa' was not declared in this scope
if(fa[last]){
^
0_0_14503357_29174.cpp:48:13: error: 'fa' was not declared in this scope
if(u[i]!=fa[v[i]]) printf("%d\n",n);
^
|