kyoto.cpp: In function 'int main()':
kyoto.cpp:14:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf(" %d",&H);
| ~~~~~^~~~~~~~~~
kyoto.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf(" %d",&W);
| ~~~~~^~~~~~~~~~
kyoto.cpp:17:41: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | for(int i = 0; i < H; i++) scanf(" %d",&lst[i]);
| ~~~~~^~~~~~~~~~~~~~~
kyoto.cpp:18:41: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | for(int i = 0; i < W; i++) scanf(" %d",&lst1[i]);
| ~~~~~^~~~~~~~~~~~~~~~