0_0_13577473_22758.c: In function 'connectivity':
0_0_13577473_22758.c:10:44: error: expected expression before '/' token
if(i > 0 && a[i-1][j] != -1) ret += 1; //north
^
0_0_13577473_22758.c:11:46: error: expected expression before '/' token
if(i < n-1 && a[i+1][j] != -1) ret += 1; //south
^
0_0_13577473_22758.c:12:43: error: expected expression before '/' token
if(j > 0 && a[i][j-1] != -1) ret +=1; //west
^
0_0_13577473_22758.c:13:45: error: expected expression before '/' token
if(j < n-1 && a[i][j+1] != -1) ret +=1; //east
^
0_0_13577473_22758.c: In function 'build_wall':
0_0_13577473_22758.c:38:24: error: expected expression before '/' token
a[p][j] = -2; //north
^
0_0_13577473_22758.c: In function 'main':
0_0_13577473_22758.c:81:1: error: expected expression before '/' token
//printf("min val = %d\n", min_val);
^
|