Main.cpp: In function 'bool ok(ll)':
Main.cpp:29:16: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'll' {aka 'long long int'} [-Wsign-compare]
29 | if(cnt > n*m) return false;
| ~~~~^~~~~
Main.cpp:31:16: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'll' {aka 'long long int'} [-Wsign-compare]
31 | return cnt <= n*m;
| ~~~~^~~~~~
Main.cpp: In function 'int main()':
Main.cpp:35:11: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
35 | scn("%d%d", &n,&m);
| ~^ ~~
| | |
| int* ll* {aka long long int*}
| %lld
Main.cpp:35:13: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
35 | scn("%d%d", &n,&m);
| ~^ ~~
| | |
| int* ll* {aka long long int*}
| %lld
Main.cpp:35:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | scn("%d%d", &n,&m);
| ^
Main.cpp:36:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | for(int i=0; i<n; i++) scn("%lld", &a[i]);
| ^
Main.cpp:37:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | for(int i=0; i<n; i++) scn("%lld", &b[i]);
| ^