lot.c: In function 'main':
lot.c:10:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d%d", &n, &l);
| ^~~~~~~~~~~~~~~~~~~~~
lot.c:12:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d", &aa[i]);
| ^~~~~~~~~~~~~~~~~~~
lot.c:13:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d", &q);
| ^~~~~~~~~~~~~~~
lot.c:15:3: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%d", &kk[h]);
| ^~~~~~~~~~~~~~~~~~~