0_0_31060604_2906.cpp:65:20: error: array bound is not an integer constant before ']' token
edge gcc[num_lis+50];
^
0_0_31060604_2906.cpp:66:18: error: array bound is not an integer constant before ']' token
int hd[num_lis+50],ct = 0;
^
0_0_31060604_2906.cpp: In function 'void ad(int, int, int)':
0_0_31060604_2906.cpp:70:2: error: 'gcc' was not declared in this scope
gcc[ct].v =v;
^
0_0_31060604_2906.cpp:72:17: error: 'hd' was not declared in this scope
gcc[ct].next = hd[x];
^
0_0_31060604_2906.cpp: In function 'void dfs(int, int)':
0_0_31060604_2906.cpp:82:14: error: 'hd' was not declared in this scope
for(int i = hd[x];i!= -1;i = gcc[i].next)
^
0_0_31060604_2906.cpp:82:31: error: 'gcc' was not declared in this scope
for(int i = hd[x];i!= -1;i = gcc[i].next)
^
0_0_31060604_2906.cpp: In function 'int main()':
0_0_31060604_2906.cpp:129:14: error: 'hd' was not declared in this scope
head[i] = hd[i] = -1;
^
|