0_0_32852893_978.cpp: In function 'void sort()':
0_0_32852893_978.cpp:3:24: error: 'vertex' was not declared in this scope
for(int i = 1;i <= vertex;i++)
^
0_0_32852893_978.cpp:6:30: error: 'indegree' was not declared in this scope
while(j <= vertex && indegree[j])
^
0_0_32852893_978.cpp:10:30: error: 'puts' was not declared in this scope
puts("IMPOSSIBLE");
^
0_0_32852893_978.cpp:13:9: error: 'indegree' was not declared in this scope
indegree[j]--;
^
0_0_32852893_978.cpp:14:9: error: 'result' was not declared in this scope
result[i] = j;
^
0_0_32852893_978.cpp:15:13: error: 'head' was not declared in this scope
j = head[j];
^
0_0_32852893_978.cpp:18:22: error: 'adjlist' was not declared in this scope
indegree[adjlist[j].v]--;
^
0_0_32852893_978.cpp:22:24: error: 'vertex' was not declared in this scope
for(int i = 1;i <= vertex;i++)
^
0_0_32852893_978.cpp:23:23: error: 'result' was not declared in this scope
printf("%d\n",result[i]);
^
0_0_32852893_978.cpp:23:32: error: 'printf' was not declared in this scope
printf("%d\n",result[i]);
^
|