baza.c: In function 'main':
baza.c:10:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d%d", &n, &m);
| ^~~~~~~~~~~~~~~~~~~~~
baza.c:13:4: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d", &aa[i][j]);
| ^~~~~~~~~~~~~~~~~~~~~~
baza.c:14:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d", &q);
| ^~~~~~~~~~~~~~~
baza.c:19:4: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%d", &bb[j]);
| ^~~~~~~~~~~~~~~~~~~