0_0_33754188_2361.cpp:124:11: error: redefinition of 'const int inf'
const int inf=0x3f3f3f3f;
^
0_0_33754188_2361.cpp:10:11: note: 'const int inf' previously defined here
const int inf=0x3f3f3f3f;
^
0_0_33754188_2361.cpp:125:11: error: redefinition of 'const int maxn'
const int maxn=1510;
^
0_0_33754188_2361.cpp:11:11: note: 'const int maxn' previously defined here
const int maxn=1510;
^
0_0_33754188_2361.cpp:127:5: error: redefinition of 'int t'
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:13:5: note: 'int t' previously declared here
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:127:7: error: redefinition of 'int n'
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:13:7: note: 'int n' previously declared here
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:127:9: error: redefinition of 'int flag'
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:13:9: note: 'int flag' previously declared here
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:127:14: error: redefinition of 'int cnt'
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:13:14: note: 'int cnt' previously declared here
int t,n,flag,cnt;
^
0_0_33754188_2361.cpp:128:18: error: redefinition of 'std::vector<int> v [1510]'
vector<int>v[maxn];
^
0_0_33754188_2361.cpp:14:12: note: 'std::vector<int> v [1510]' previously declared here
vector<int>v[maxn];
^
0_0_33754188_2361.cpp:129:18: error: redefinition of 'int mp [1510][1510]'
int mp[maxn][maxn];
^
0_0_33754188_2361.cpp:15:5: note: 'int mp [1510][1510]' previously declared here
int mp[maxn][maxn];
^
0_0_33754188_2361.cpp:130:13: error: redefinition of 'int dep [1510]'
int dep[maxn];
^
0_0_33754188_2361.cpp:16:5: note: 'int dep [1510]' previously declared here
int dep[maxn];
^
0_0_33754188_2361.cpp:131:13: error: redefinition of 'int pre [1510]'
int pre[maxn];
^
0_0_33754188_2361.cpp:17:5: note: 'int pre [1510]' previously declared here
int pre[maxn];
^
0_0_33754188_2361.cpp:132:13: error: redefinition of 'int vis [1510]'
int vis[maxn];
^
0_0_33754188_2361.cpp:18:5: note: 'int vis [1510]' previously declared here
int vis[maxn];
^
0_0_33754188_2361.cpp:133:5: error: redefinition of 'int a'
int a,b,c;
^
0_0_33754188_2361.cpp:19:5: note: 'int a' previously declared here
int a,b,c;
^
0_0_33754188_2361.cpp:133:7: error: redefinition of 'int b'
int a,b,c;
^
0_0_33754188_2361.cpp:19:7: note: 'int b' previously declared here
int a,b,c;
^
0_0_33754188_2361.cpp:133:9: error: redefinition of 'int c'
int a,b,c;
^
0_0_33754188_2361.cpp:19:9: note: 'int c' previously declared here
int a,b,c;
^
0_0_33754188_2361.cpp:135:8: error: redefinition of 'struct cmp'
struct cmp
^
0_0_33754188_2361.cpp:21:8: error: previous definition of 'struct cmp'
struct cmp
^
0_0_33754188_2361.cpp: In function 'void BFS()':
0_0_33754188_2361.cpp:143:6: error: redefinition of 'void BFS()'
void BFS()
^
0_0_33754188_2361.cpp:29:6: note: 'void BFS()' previously defined here
void BFS()
^
0_0_33754188_2361.cpp: In function 'int main()':
0_0_33754188_2361.cpp:200:5: error: redefinition of 'int main()'
int main()
^
0_0_33754188_2361.cpp:86:5: note: 'int main()' previously defined here
int main()
^
|