0_0_33361173_32694.c:6:1: error: unknown type name 'bool'
bool flag = true, ct[100005];
^
0_0_33361173_32694.c:6:13: error: 'true' undeclared here (not in a function)
bool flag = true, ct[100005];
^
0_0_33361173_32694.c: In function 'insert':
0_0_33361173_32694.c:10:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0, len = strlen(s); i < len; ++i) {
^
0_0_33361173_32694.c:10:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33361173_32694.c:15:20: error: 'false' undeclared (first use in this function)
flag = false;
^
0_0_33361173_32694.c:15:20: note: each undeclared identifier is reported only once for each function it appears in
0_0_33361173_32694.c: In function 'main':
0_0_33361173_32694.c:33:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < n; ++i) {
^
|