0_0_19340075_27371.c:6:1: error: unknown type name 'bool'
bool vis[M];
^
0_0_19340075_27371.c: In function 'init':
0_0_19340075_27371.c:28:16: error: 'false' undeclared (first use in this function)
memset(vis,false,sizeof(vis));
^
0_0_19340075_27371.c:28:16: note: each undeclared identifier is reported only once for each function it appears in
0_0_19340075_27371.c: In function 'tarjan':
0_0_19340075_27371.c:38:12: error: 'true' undeclared (first use in this function)
vis[x]=true;
^
0_0_19340075_27371.c:39:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=head[x];i!=-1;i=g[i].pre)
^
0_0_19340075_27371.c:39:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_19340075_27371.c:60:22: error: 'false' undeclared (first use in this function)
vis[tmp]=false;
^
0_0_19340075_27371.c: In function 'output':
0_0_19340075_27371.c:70:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++)
^
0_0_19340075_27371.c:73:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=head[i];j!=-1;j=g[j].pre)
^
0_0_19340075_27371.c:84:13: error: redefinition of 'i'
for(int i=1;i<=count;i++)
^
0_0_19340075_27371.c:70:13: note: previous definition of 'i' was here
for(int i=1;i<=n;i++)
^
0_0_19340075_27371.c:84:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=count;i++)
^
0_0_19340075_27371.c: In function 'main':
0_0_19340075_27371.c:102:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<m;i++)
^
0_0_19340075_27371.c:107:17: error: redefinition of 'i'
for(int i=1;i<=n;i++)
^
0_0_19340075_27371.c:102:17: note: previous definition of 'i' was here
for(int i=0;i<m;i++)
^
0_0_19340075_27371.c:107:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=n;i++)
^
|