0_0_17798148_29577.c:4:5: error: variably modified 'map' at file scope
int map[N][N];
^
0_0_17798148_29577.c:4:5: error: variably modified 'map' at file scope
0_0_17798148_29577.c:5:1: error: unknown type name 'bool'
bool flag=0;
^
0_0_17798148_29577.c:6:1: error: unknown type name 'bool'
bool row[N][N+1];
^
0_0_17798148_29577.c:6:6: error: variably modified 'row' at file scope
bool row[N][N+1];
^
0_0_17798148_29577.c:6:6: error: variably modified 'row' at file scope
0_0_17798148_29577.c:7:1: error: unknown type name 'bool'
bool col[N][N+1];
^
0_0_17798148_29577.c:7:6: error: variably modified 'col' at file scope
bool col[N][N+1];
^
0_0_17798148_29577.c:7:6: error: variably modified 'col' at file scope
0_0_17798148_29577.c:8:1: error: unknown type name 'bool'
bool block[3][3][N+1];
^
0_0_17798148_29577.c:8:6: error: variably modified 'block' at file scope
bool block[3][3][N+1];
^
0_0_17798148_29577.c: In function 'put':
0_0_17798148_29577.c:16:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=0;i<N;i++)
^
0_0_17798148_29577.c:16:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_17798148_29577.c:18:4: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int j=0;j<N;j++)
^
0_0_17798148_29577.c:34:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for(int i=1;i<=N;i++)
^
|