0_0_24614836_27652.c:4:1: error: unknown type name 'bool'
bool visit[25];
^
0_0_24614836_27652.c: In function 'dfs':
0_0_24614836_27652.c:55:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<2;i++){
^
0_0_24614836_27652.c:55:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_24614836_27652.c:57:20: error: 'true' undeclared (first use in this function)
visit[index] = true;
^
0_0_24614836_27652.c:57:20: note: each undeclared identifier is reported only once for each function it appears in
0_0_24614836_27652.c:65:20: error: 'false' undeclared (first use in this function)
visit[index] = false;
^
|