Main.cpp: In function 'int main()':
Main.cpp:38:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
38 | for(int i=0; i<n; i++) scn("%d", &a[i]);
| ~^ ~~~~~
| | |
| | ll* {aka long long int*}
| int*
| %lld
Main.cpp:39:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
39 | for(int i=0; i<n; i++) scn("%d", &b[i]);
| ~^ ~~~~~
| | |
| | ll* {aka long long int*}
| int*
| %lld
Main.cpp:37:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | scn("%lld %lld", &n, &m);
| ^
Main.cpp:38:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | for(int i=0; i<n; i++) scn("%d", &a[i]);
| ^
Main.cpp:39:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | for(int i=0; i<n; i++) scn("%d", &b[i]);
| ^