0_0_33198450_15526.c:2:1: error: unknown type name 'bool'
bool solve(void);
^
0_0_33198450_15526.c: In function 'main':
0_0_33198450_15526.c:6:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<t;i++){
^
0_0_33198450_15526.c:6:2: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_33198450_15526.c: At top level:
0_0_33198450_15526.c:11:1: error: unknown type name 'bool'
bool solve(void){
^
0_0_33198450_15526.c: In function 'solve':
0_0_33198450_15526.c:14:2: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<n;i++){
^
|