baza.cpp: In function 'int main()':
baza.cpp:8:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d" , &n , &m);
~~~~~^~~~~~~~~~~~~~~~~~~
baza.cpp:13:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &arr[i][j]);
~~~~~^~~~~~~~~~~~~~~~~~~
baza.cpp:16:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &q);
~~~~~^~~~~~~~~~~
baza.cpp:20:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &arr2[i]);
~~~~~^~~~~~~~~~~~~~~~~