cell.c: In function 'main':
cell.c:23:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
23 | else if (x > 0 && cc[t - 1][x - 1][y] == 2 || y > 0 && cc[t - 1][x][y - 1] == 2 || x < X * 2 && cc[t - 1][x + 1][y] == 2 || y < X * 2 && cc[t - 1][x][y + 1] == 2)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
cell.c:23:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
23 | else if (x > 0 && cc[t - 1][x - 1][y] == 2 || y > 0 && cc[t - 1][x][y - 1] == 2 || x < X * 2 && cc[t - 1][x + 1][y] == 2 || y < X * 2 && cc[t - 1][x][y + 1] == 2)
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
cell.c:23:139: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
23 | else if (x > 0 && cc[t - 1][x - 1][y] == 2 || y > 0 && cc[t - 1][x][y - 1] == 2 || x < X * 2 && cc[t - 1][x + 1][y] == 2 || y < X * 2 && cc[t - 1][x][y + 1] == 2)
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
cell.c:12:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d%d", &n, &q);
| ^~~~~~~~~~~~~~~~~~~~~
cell.c:14:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d%d", &xx[i], &yy[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cell.c:26:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | scanf("%d", &t);
| ^~~~~~~~~~~~~~~