Main.cpp: In function 'long long int solveBF()':
Main.cpp:10:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
10 | scanf("%d%d%d",&l,&r,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp:10:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
10 | scanf("%d%d%d",&l,&r,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp:10:17: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
10 | scanf("%d%d%d",&l,&r,&m);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp: In function 'int main()':
Main.cpp:39:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
39 | scanf("%d%d",&N,&K);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp:39:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
39 | scanf("%d%d",&N,&K);
| ~^ ~~
| | |
| int* long long int*
| %lld
Main.cpp:42:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
42 | scanf("%d", &A[i]);
| ~^ ~~~~~
| | |
| | long long int*
| int*
| %lld
Main.cpp:45:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
45 | scanf("%d", &Q);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
Main.cpp:48:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
48 | scanf("%d", &b);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
Main.cpp:50:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
50 | printf("%d\n", solveBF());
| ~^ ~~~~~~~~~
| | |
| int long long int
| %lld
Main.cpp: In function 'long long int solveBF()':
Main.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d%d%d",&l,&r,&m);
| ~~~~~^~~~~~~~~~~~~~~~~~~
Main.cpp: In function 'int main()':
Main.cpp:39:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
39 | scanf("%d%d",&N,&K);
| ~~~~~^~~~~~~~~~~~~~
Main.cpp:42:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | scanf("%d", &A[i]);
| ~~~~~^~~~~~~~~~~~~
Main.cpp:45:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | scanf("%d", &Q);
| ~~~~~^~~~~~~~~~
Main.cpp:48:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
48 | scanf("%d", &b);
| ~~~~~^~~~~~~~~~
Main.cpp:53:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
53 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~