0_0_25873260_14958.cpp:86:2: error: stray '#' in program
}#include<bits/stdc++.h>
^
0_0_25873260_14958.cpp:86:3: error: 'include' does not name a type
}#include<bits/stdc++.h>
^
0_0_25873260_14958.cpp:88:11: error: redefinition of 'const int INF'
const int INF =0x3f3f3f3f;
^
0_0_25873260_14958.cpp:3:11: note: 'const int INF' previously defined here
const int INF =0x3f3f3f3f;
^
0_0_25873260_14958.cpp:89:11: error: redefinition of 'const int maxn'
const int maxn=100005;
^
0_0_25873260_14958.cpp:4:11: note: 'const int maxn' previously defined here
const int maxn=100005;
^
0_0_25873260_14958.cpp:90:8: error: redefinition of 'struct edge'
struct edge
^
0_0_25873260_14958.cpp:5:8: error: previous definition of 'struct edge'
struct edge
^
0_0_25873260_14958.cpp:93:12: error: invalid type in declaration before ';' token
}e[maxn<<2];
^
0_0_25873260_14958.cpp:93:12: error: conflicting declaration 'int e [400020]'
0_0_25873260_14958.cpp:8:2: note: previous declaration as 'edge e [400020]'
}e[maxn<<2];
^
0_0_25873260_14958.cpp:94:14: error: redefinition of 'int head [100005]'
int head[maxn];
^
0_0_25873260_14958.cpp:9:5: note: 'int head [100005]' previously declared here
int head[maxn];
^
0_0_25873260_14958.cpp:95:13: error: redefinition of 'int dis [100005]'
int dis[maxn];
^
0_0_25873260_14958.cpp:10:5: note: 'int dis [100005]' previously declared here
int dis[maxn];
^
0_0_25873260_14958.cpp:96:5: error: redefinition of 'int n'
int n,m,cnt;
^
0_0_25873260_14958.cpp:11:5: note: 'int n' previously declared here
int n,m,cnt;
^
0_0_25873260_14958.cpp:96:7: error: redefinition of 'int m'
int n,m,cnt;
^
0_0_25873260_14958.cpp:11:7: note: 'int m' previously declared here
int n,m,cnt;
^
0_0_25873260_14958.cpp:96:9: error: redefinition of 'int cnt'
int n,m,cnt;
^
0_0_25873260_14958.cpp:11:9: note: 'int cnt' previously declared here
int n,m,cnt;
^
0_0_25873260_14958.cpp:97:15: error: redefinition of 'std::set<int> v [100005]'
set<int>v[maxn];
^
0_0_25873260_14958.cpp:12:9: note: 'std::set<int> v [100005]' previously declared here
set<int>v[maxn];
^
0_0_25873260_14958.cpp: In function 'void add(int, int, int)':
0_0_25873260_14958.cpp:98:6: error: redefinition of 'void add(int, int, int)'
void add(int i,int j,int w)
^
0_0_25873260_14958.cpp:13:6: note: 'void add(int, int, int)' previously defined here
void add(int i,int j,int w)
^
0_0_25873260_14958.cpp: At global scope:
0_0_25873260_14958.cpp:106:8: error: redefinition of 'struct node'
struct node
^
0_0_25873260_14958.cpp:21:8: error: previous definition of 'struct node'
struct node
^
0_0_25873260_14958.cpp: In function 'void bfs()':
0_0_25873260_14958.cpp:111:6: error: redefinition of 'void bfs()'
void bfs()
^
0_0_25873260_14958.cpp:26:6: note: 'void bfs()' previously defined here
void bfs()
^
0_0_25873260_14958.cpp: In function 'int main()':
0_0_25873260_14958.cpp:154:5: error: redefinition of 'int main()'
int main()
^
0_0_25873260_14958.cpp:69:5: note: 'int main()' previously defined here
int main()
^
|