baza.cpp: In function 'void qry()':
baza.cpp:25:32: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | for(int i=1;i<=m;i++) scanf("%d", &b[i]);
| ~~~~~^~~~~~~~~~~~~
baza.cpp: In function 'int main()':
baza.cpp:38:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
baza.cpp:41:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | scanf("%d", &a[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~
baza.cpp:42:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | scanf("%d", &k);
| ~~~~~^~~~~~~~~~