0_0_27966728_14659.cpp: In function 'void addedge(int, int)':
0_0_27966728_14659.cpp:103:2: error: 'pnt' was not declared in this scope
pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
^
0_0_27966728_14659.cpp:103:6: error: 'ecnt' was not declared in this scope
pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
^
0_0_27966728_14659.cpp:103:17: error: 'nxt' was not declared in this scope
pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
^
0_0_27966728_14659.cpp:103:29: error: 'head' was not declared in this scope
pnt[ecnt] = v, nxt[ecnt] = head[u], head[u] = ecnt++;
^
0_0_27966728_14659.cpp: In function 'void Tarjan(int, int)':
0_0_27966728_14659.cpp:111:15: error: 'head' was not declared in this scope
for (int i = head[u];~i;i = nxt[i]) {
^
0_0_27966728_14659.cpp:111:30: error: 'nxt' was not declared in this scope
for (int i = head[u];~i;i = nxt[i]) {
^
0_0_27966728_14659.cpp:112:11: error: 'pnt' was not declared in this scope
int v = pnt[i];
^
0_0_27966728_14659.cpp: In function 'int main()':
0_0_27966728_14659.cpp:145:11: error: 'head' was not declared in this scope
memset(head, -1,sizeof head);
^
0_0_27966728_14659.cpp:146:4: error: 'ecnt' was not declared in this scope
ecnt = 0;
^
|