0_0_13818155_13425.cpp:11:8: error: redeclaration of 'int& node::nbsp'
char x[5], y[5];
^
0_0_13818155_13425.cpp:11:2: note: previous declaration 'int& node::nbsp'
char x[5], y[5];
^
0_0_13818155_13425.cpp:11:14: error: redeclaration of 'int& node::nbsp'
char x[5], y[5];
^
0_0_13818155_13425.cpp:11:2: note: previous declaration 'int& node::nbsp'
char x[5], y[5];
^
0_0_13818155_13425.cpp:11:20: error: redeclaration of 'int& node::nbsp'
char x[5], y[5];
^
0_0_13818155_13425.cpp:11:2: note: previous declaration 'int& node::nbsp'
char x[5], y[5];
^
0_0_13818155_13425.cpp:12:7: error: use of deleted function 'node::node()'
}a[505];
^
0_0_13818155_13425.cpp:9:8: note: 'node::node()' is implicitly deleted because the default definition would be ill-formed:
struct node
^
0_0_13818155_13425.cpp:9:8: error: uninitialized reference member in 'struct node'
0_0_13818155_13425.cpp:11:2: note: 'int& node::nbsp' should be initialized
char x[5], y[5];
^
0_0_13818155_13425.cpp: In function 'void init()':
0_0_13818155_13425.cpp:15:2: error: 'nbsp' was not declared in this scope
memset(link, -1, sizeof(link));
^
0_0_13818155_13425.cpp:19:53: error: 'i' was not declared in this scope
map[i].clear();
^
0_0_13818155_13425.cpp: In function 'int findpath(int)':
0_0_13818155_13425.cpp:24:2: error: 'nbsp' was not declared in this scope
for (int v = 0; v < map[u].size(); v++)
^
0_0_13818155_13425.cpp:26:65: error: 'v' was not declared in this scope
if (!vis[map[u][v]])
^
0_0_13818155_13425.cpp:28:84: error: 'v' was not declared in this scope
vis[map[u][v]] = 1;
^
0_0_13818155_13425.cpp: In function 'int main()':
0_0_13818155_13425.cpp:40:2: error: 'nbsp' was not declared in this scope
int t, i, j;
^
|