mobile.cpp: In function 'int main()':
mobile.cpp:37:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
37 | scanf("%d %d", &n, &len);
| ~^ ~~
| | |
| int* long long int*
| %lld
mobile.cpp:37:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
37 | scanf("%d %d", &n, &len);
| ~^ ~~~~
| | |
| int* long long int*
| %lld
mobile.cpp:39:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
39 | scanf("%d %d", &x[i], &y[i]);
| ~^ ~~~~~
| | |
| int* long long int*
| %lld
mobile.cpp:39:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
39 | scanf("%d %d", &x[i], &y[i]);
| ~^ ~~~~~
| | |
| int* long long int*
| %lld
mobile.cpp:37:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | scanf("%d %d", &n, &len);
| ~~~~~^~~~~~~~~~~~~~~~~~~
mobile.cpp:39:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | scanf("%d %d", &x[i], &y[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~