0_0_28849435_13861.cpp:95:5: error: redefinition of 'int n'
int n, vis[maxn], pre[maxn];
^
0_0_28849435_13861.cpp:30:5: note: 'int n' previously declared here
int n, vis[maxn], pre[maxn];
^
0_0_28849435_13861.cpp:95:16: error: redefinition of 'int vis [1010]'
int n, vis[maxn], pre[maxn];
^
0_0_28849435_13861.cpp:30:8: note: 'int vis [1010]' previously declared here
int n, vis[maxn], pre[maxn];
^
0_0_28849435_13861.cpp:95:27: error: redefinition of 'int pre [1010]'
int n, vis[maxn], pre[maxn];
^
0_0_28849435_13861.cpp:30:19: note: 'int pre [1010]' previously declared here
int n, vis[maxn], pre[maxn];
^
0_0_28849435_13861.cpp:96:8: error: redefinition of 'struct node'
struct node {
^
0_0_28849435_13861.cpp:31:8: error: previous definition of 'struct node'
struct node {
^
0_0_28849435_13861.cpp:98:10: error: invalid type in declaration before ';' token
} p[maxn];
^
0_0_28849435_13861.cpp:98:10: error: conflicting declaration 'int p [1010]'
0_0_28849435_13861.cpp:33:3: note: previous declaration as 'node p [1010]'
} p[maxn];
^
0_0_28849435_13861.cpp:99:23: error: redefinition of 'double edge [1010][1010]'
double edge[maxn][maxn];
^
0_0_28849435_13861.cpp:34:8: note: 'double edge [1010][1010]' previously declared here
double edge[maxn][maxn];
^
0_0_28849435_13861.cpp: In function 'void init()':
0_0_28849435_13861.cpp:100:6: error: redefinition of 'void init()'
void init() {
^
0_0_28849435_13861.cpp:35:6: note: 'void init()' previously defined here
void init() {
^
0_0_28849435_13861.cpp: At global scope:
0_0_28849435_13861.cpp:109:16: error: redefinition of 'double dis [1010]'
double dis[maxn];
^
0_0_28849435_13861.cpp:44:8: note: 'double dis [1010]' previously declared here
double dis[maxn];
^
0_0_28849435_13861.cpp: In function 'double prim(double)':
0_0_28849435_13861.cpp:110:8: error: redefinition of 'double prim(double)'
double prim(double l) {
^
0_0_28849435_13861.cpp:45:8: note: 'double prim(double)' previously defined here
double prim(double l) {
^
0_0_28849435_13861.cpp: In function 'int main()':
0_0_28849435_13861.cpp:149:5: error: redefinition of 'int main()'
int main () {
^
0_0_28849435_13861.cpp:83:5: note: 'int main()' previously defined here
int main () {
^
|