0_0_29564688_29530.cpp:74:51: error: 'Edge1' has not been declared
bool spfa(int start, int n, int *Dist, int *Head, Edge1 *Edge) {
^
0_0_29564688_29530.cpp: In function 'bool spfa(int, int, int*, int*, int*)':
0_0_29564688_29530.cpp:88:45: error: request for member 'next' in '*(Edge + ((sizetype)(((long long unsigned int)i) * 4ull)))', which is of non-class type 'int'
for(int i = Head[u]; i != -1; i = Edge[i].next) {
^
0_0_29564688_29530.cpp:89:4: error: 'Edge1' was not declared in this scope
Edge1 e = Edge[i];
^
0_0_29564688_29530.cpp:90:12: error: 'e' was not declared in this scope
int v = e.to;
^
0_0_29564688_29530.cpp: In function 'int main()':
0_0_29564688_29530.cpp:132:13: error: 'u' was not declared in this scope
addedge1(u, v, 1,w);
^
0_0_29564688_29530.cpp:132:16: error: 'v' was not declared in this scope
addedge1(u, v, 1,w);
^
0_0_29564688_29530.cpp:132:21: error: 'w' was not declared in this scope
addedge1(u, v, 1,w);
^
0_0_29564688_29530.cpp:132:22: error: 'addedge1' was not declared in this scope
addedge1(u, v, 1,w);
^
|