0_0_22180548_21039.cpp:17:8: error: redeclaration of 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:17:14: error: redeclaration of 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:17:20: error: redeclaration of 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:18:2: error: redeclaration of 'int& Edge::nbsp'
Edge() {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:18:8: error: redeclaration of 'int& Edge::nbsp'
Edge() {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:18:14: error: redeclaration of 'int& Edge::nbsp'
Edge() {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:18:20: error: redeclaration of 'int& Edge::nbsp'
Edge() {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:19:2: error: redeclaration of 'int& Edge::nbsp'
Edge(int _to, int _nxt, int _dx, int _data): to(_to), nxt(_nxt), dx(_dx), data(_data) {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:19:8: error: redeclaration of 'int& Edge::nbsp'
Edge(int _to, int _nxt, int _dx, int _data): to(_to), nxt(_nxt), dx(_dx), data(_data) {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:19:14: error: redeclaration of 'int& Edge::nbsp'
Edge(int _to, int _nxt, int _dx, int _data): to(_to), nxt(_nxt), dx(_dx), data(_data) {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp:19:20: error: redeclaration of 'int& Edge::nbsp'
Edge(int _to, int _nxt, int _dx, int _data): to(_to), nxt(_nxt), dx(_dx), data(_data) {}
^
0_0_22180548_21039.cpp:17:2: note: previous declaration 'int& Edge::nbsp'
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp: In constructor 'Edge::Edge()':
0_0_22180548_21039.cpp:18:25: error: uninitialized reference member in 'int&' [-fpermissive]
Edge() {}
^
0_0_22180548_21039.cpp:17:2: note: 'int& Edge::nbsp' should be initialized
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp: In constructor 'Edge::Edge(int, int, int, int)':
0_0_22180548_21039.cpp:19:25: error: uninitialized reference member in 'int&' [-fpermissive]
Edge(int _to, int _nxt, int _dx, int _data): to(_to), nxt(_nxt), dx(_dx), data(_data) {}
^
0_0_22180548_21039.cpp:17:2: note: 'int& Edge::nbsp' should be initialized
int to, nxt, dx, data;
^
0_0_22180548_21039.cpp: At global scope:
0_0_22180548_21039.cpp:23:8: error: redeclaration of 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:23:14: error: redeclaration of 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:23:20: error: redeclaration of 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:24:2: error: redeclaration of 'int& edge::nbsp'
edge() {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:24:8: error: redeclaration of 'int& edge::nbsp'
edge() {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:24:14: error: redeclaration of 'int& edge::nbsp'
edge() {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:24:20: error: redeclaration of 'int& edge::nbsp'
edge() {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:25:2: error: redeclaration of 'int& edge::nbsp'
edge(int _to, int _nxt, int _cap): to(_to), nxt(_nxt), cap(_cap) {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:25:8: error: redeclaration of 'int& edge::nbsp'
edge(int _to, int _nxt, int _cap): to(_to), nxt(_nxt), cap(_cap) {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:25:14: error: redeclaration of 'int& edge::nbsp'
edge(int _to, int _nxt, int _cap): to(_to), nxt(_nxt), cap(_cap) {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp:25:20: error: redeclaration of 'int& edge::nbsp'
edge(int _to, int _nxt, int _cap): to(_to), nxt(_nxt), cap(_cap) {}
^
0_0_22180548_21039.cpp:23:2: note: previous declaration 'int& edge::nbsp'
int to, nxt, cap;
^
0_0_22180548_21039.cpp: In constructor 'edge::edge()':
0_0_22180548_21039.cpp:24:25: error: uninitialized reference member in 'int&' [-fpermissive]
edge() {}
^
0_0_22180548_21039.cpp:23:2: note: 'int& edge::nbsp' should be initialized
int to, nxt, cap;
^
0_0_22180548_21039.cpp: In constructor 'edge::edge(int, int, int)':
0_0_22180548_21039.cpp:25:25: error: uninitialized reference member in 'int&' [-fpermissive]
edge(int _to, int _nxt, int _cap): to(_to), nxt(_nxt), cap(_cap) {}
^
0_0_22180548_21039.cpp:23:2: note: 'int& edge::nbsp' should be initialized
int to, nxt, cap;
^
0_0_22180548_21039.cpp: At global scope:
0_0_22180548_21039.cpp:31:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_22180548_21039.cpp: In function 'void init()':
0_0_22180548_21039.cpp:34:2: error: 'nbsp' was not declared in this scope
CLR(H, -1);
^
0_0_22180548_21039.cpp: In function 'void addE(int, int, int, int)':
0_0_22180548_21039.cpp:42:2: error: 'nbsp' was not declared in this scope
E[Tot] = Edge(t, H[s], D, c);
^
0_0_22180548_21039.cpp:42:32: error: use of deleted function 'Edge& Edge::operator=(Edge&&)'
E[Tot] = Edge(t, H[s], D, c);
^
0_0_22180548_21039.cpp:15:8: note: 'Edge& Edge::operator=(Edge&&)' is implicitly deleted because the default definition would be ill-formed:
struct Edge
^
0_0_22180548_21039.cpp:15:8: error: non-static reference member 'int& Edge::nbsp', can't use default assignment operator
0_0_22180548_21039.cpp: In function 'void adde(int, int, int)':
0_0_22180548_21039.cpp:47:2: error: 'nbsp' was not declared in this scope
e[tot] = edge(t, h[s], c);
^
0_0_22180548_21039.cpp:47:32: error: use of deleted function 'edge& edge::operator=(edge&&)'
e[tot] = edge(t, h[s], c);
^
0_0_22180548_21039.cpp:21:8: note: 'edge& edge::operator=(edge&&)' is implicitly deleted because the default definition would be ill-formed:
struct edge
^
0_0_22180548_21039.cpp:21:8: error: non-static reference member 'int& edge::nbsp', can't use default assignment operator
0_0_22180548_21039.cpp:49:32: error: use of deleted function 'edge& edge::operator=(edge&&)'
e[tot] = edge(s, h[t], 0);
^
0_0_22180548_21039.cpp: In function 'void BFS(int)':
0_0_22180548_21039.cpp:54:2: error: 'nbsp'
|