0_0_30256821_30439.cpp:178:11: error: redefinition of 'const int N'
const int N=2000;
^
0_0_30256821_30439.cpp:5:11: note: 'const int N' previously defined here
const int N=2000;
^
0_0_30256821_30439.cpp:179:11: error: redefinition of 'const int M'
const int M=1000000+3000;
^
0_0_30256821_30439.cpp:6:11: note: 'const int M' previously defined here
const int M=1000000+3000;
^
0_0_30256821_30439.cpp:180:8: error: redefinition of 'struct EDGE'
struct EDGE{
^
0_0_30256821_30439.cpp:7:8: error: previous definition of 'struct EDGE'
struct EDGE{
^
0_0_30256821_30439.cpp:182:9: error: invalid type in declaration before ';' token
}edge[M];
^
0_0_30256821_30439.cpp:182:9: error: conflicting declaration 'int edge [1003000]'
0_0_30256821_30439.cpp:9:2: note: previous declaration as 'EDGE edge [1003000]'
}edge[M];
^
0_0_30256821_30439.cpp:183:12: error: redefinition of 'int first [2000]'
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:10:5: note: 'int first [2000]' previously declared here
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:183:19: error: redefinition of 'int low [2000]'
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:10:14: note: 'int low [2000]' previously declared here
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:183:26: error: redefinition of 'int dfn [2000]'
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:10:21: note: 'int dfn [2000]' previously declared here
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:183:33: error: redefinition of 'int sta [1003000]'
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:10:28: note: 'int sta [1003000]' previously declared here
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:183:43: error: redefinition of 'int belong [2000]'
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:10:35: note: 'int belong [2000]' previously declared here
int first[N],low[N],dfn[N],sta[M],belong[N];
^
0_0_30256821_30439.cpp:184:10: error: redefinition of 'int ans [2000]'
int ans[N],match[N],flag[N];
^
0_0_30256821_30439.cpp:11:5: note: 'int ans [2000]' previously declared here
int ans[N],match[N],flag[N];
^
0_0_30256821_30439.cpp:184:19: error: redefinition of 'int match [2000]'
int ans[N],match[N],flag[N];
^
0_0_30256821_30439.cpp:11:12: note: 'int match [2000]' previously declared here
int ans[N],match[N],flag[N];
^
0_0_30256821_30439.cpp:184:27: error: redefinition of 'int flag [2000]'
int ans[N],match[N],flag[N];
^
0_0_30256821_30439.cpp:11:21: note: 'int flag [2000]' previously declared here
int ans[N],match[N],flag[N];
^
0_0_30256821_30439.cpp:185:15: error: redefinition of 'bool instack [2000]'
bool instack[N],vis[N];
^
0_0_30256821_30439.cpp:12:6: note: 'bool instack [2000]' previously declared here
bool instack[N],vis[N];
^
0_0_30256821_30439.cpp:185:22: error: redefinition of 'bool vis [2000]'
bool instack[N],vis[N];
^
0_0_30256821_30439.cpp:12:17: note: 'bool vis [2000]' previously declared here
bool instack[N],vis[N];
^
0_0_30256821_30439.cpp:186:5: error: redefinition of 'int n'
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:13:5: note: 'int n' previously declared here
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:186:7: error: redefinition of 'int m'
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:13:7: note: 'int m' previously declared here
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:186:9: error: redefinition of 'int g'
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:13:9: note: 'int g' previously declared here
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:186:11: error: redefinition of 'int cnt'
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:13:11: note: 'int cnt' previously declared here
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:186:15: error: redefinition of 'int top'
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:13:15: note: 'int top' previously declared here
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:186:19: error: redefinition of 'int scc'
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:13:19: note: 'int scc' previously declared here
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:186:23: error: redefinition of 'int maxn'
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp:13:23: note: 'int maxn' previously declared here
int n,m,g,cnt,top,scc,maxn;
^
0_0_30256821_30439.cpp: In function 'void AddEdge(int, int)':
0_0_30256821_30439.cpp:187:6: error: redefinition of 'void AddEdge(int, int)'
void AddEdge(int u,int v)
^
0_0_30256821_30439.cpp:14:6: note: 'void AddEdge(int, int)' previously defined here
void AddEdge(int u,int v)
^
0_0_30256821_30439.cpp: In function 'void init()':
0_0_30256821_30439.cpp:193:6: error: redefinition of 'void init()'
void init()
^
0_0_30256821_30439.cpp:20:6: note: 'void init()' previously defined here
void init()
^
0_0_30256821_30439.cpp: In function 'bool dfs(int)':
0_0_30256821_30439.cpp:203:6: error: redefinition of 'bool dfs(int)'
bool dfs(int u)
^
0_0_30256821_30439.cpp:30:6: note: 'bool dfs(int)' previously defined here
bool dfs(int u)
^
0_0_30256821_30439.cpp: In function 'void xiong()':
0_0_30256821_30439.cpp:222:6: error: redefinition of 'void xiong()'
void xiong() //二分匹配
^
0_0_30256821_30439.cpp:49:6: note: 'void xiong()' previously defined here
void xiong() //二分匹配
^
0_0_30256821_30439.cpp: In function 'void Tarjan(int)':
0_0_30256821_30439.cpp:232:6: error: redefinition of 'void Tarjan(int)'
void Tarjan(int u) //求强连通分量
^
0_0_30256821_30439.cpp:59:6: note: 'void Tarjan(int)' previously defined here
void Tarjan(int u) //求强连通分量
^
0_0_30256821_30439.cpp: In function 'void build()':
0_0_30256821_30439.cpp:262:6: error: redefinition of 'void build()'
void build()
^
0_0_30256821_30439.cpp:89:6: note: 'void build()' previously defined here
void build()
^
0_0_30256821_30439.cpp: In function 'void solve()':
0_0_30256821_30439.cpp:305:6: error: redefinition of 'void solve()'
void solve()
^
0_0_30256821_30439.cpp:132:6: note: 'void solve()' previously defined here
void solve()
^
0_0_30256821_30439.cpp: In function 'int main()':
0_0_30256821_30439.cpp:334:5: error: redefinition of 'int main()'
int main()
^
0_0_30256821_30439.cpp:161:5: note: 'int main()' previously defined here
int main()
^
|