Main.cpp: In function 'bool ok(ll)':
Main.cpp:22:16: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
22 | if(cnt > n*m) return false;
| ~~~~^~~~~
Main.cpp:24:16: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
24 | return cnt <= n*m;
| ~~~~^~~~~~
Main.cpp: In function 'int main()':
Main.cpp:28:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | scn("%d%d", &n,&m);
| ^
Main.cpp:29:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | for(int i=0; i<n; i++) scn("%lld", &a[i]);
| ^
Main.cpp:30:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | for(int i=0; i<n; i++) scn("%lld", &b[i]);
| ^