relativnost.c: In function 'main':
relativnost.c:55:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
55 | scanf("%d%d", &n, &k);
| ^~~~~~~~~~~~~~~~~~~~~
relativnost.c:57:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
57 | scanf("%d", &aa[i]);
| ^~~~~~~~~~~~~~~~~~~
relativnost.c:59:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
59 | scanf("%d", &bb[i]);
| ^~~~~~~~~~~~~~~~~~~
relativnost.c:61:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
61 | scanf("%d", &q);
| ^~~~~~~~~~~~~~~
relativnost.c:65:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
65 | scanf("%d%d%d", &i, &a, &b), i--;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~