In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdbool:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:56,
from 0_0_28895347_22609.cpp:1:
0_0_28895347_22609.cpp:7:1: error: expected initializer before 'bool'
bool inq[N],mark[N],mp[N][N];
^
0_0_28895347_22609.cpp: In function 'bool dfs(int)':
0_0_28895347_22609.cpp:10:5: error: 'mark' was not declared in this scope
if(mark[x])return 0;
^
0_0_28895347_22609.cpp:11:2: error: 'mark' was not declared in this scope
mark[x]=1;
^
0_0_28895347_22609.cpp:12:28: error: 'mp' was not declared in this scope
for(int i=1; i<=n; i++)if(mp[x][i]&&dfs(i))return 1;
^
0_0_28895347_22609.cpp: In function 'bool spfa()':
0_0_28895347_22609.cpp:16:9: error: 'dis' was not declared in this scope
memset(dis,0,sizeof(dis));
^
0_0_28895347_22609.cpp:17:9: error: 'inq' was not declared in this scope
memset(inq,0,sizeof(inq));
^
0_0_28895347_22609.cpp:26:8: error: 'mp' was not declared in this scope
if(!mp[now][i])continue;
^
0_0_28895347_22609.cpp: In function 'int main()':
0_0_28895347_22609.cpp:49:10: error: 'mp' was not declared in this scope
memset(mp,0,sizeof(mp));
^
0_0_28895347_22609.cpp:54:10: error: 'mark' was not declared in this scope
memset(mark,0,sizeof(mark));
^
|