norela.cpp: In function 'int main()':
norela.cpp:22:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
22 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* long long int*
| %lld
norela.cpp:22:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
22 | scanf("%d%d", &n, &m);
| ~^ ~~
| | |
| int* long long int*
| %lld
norela.cpp:24:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
24 | scanf("%d", &q);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
norela.cpp:26:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
26 | scanf("%d", &bit);
| ~^ ~~~~
| | |
| | long long int*
| int*
| %lld
norela.cpp:49:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
49 | printf("%d\n", mn);
| ~^ ~~
| | |
| int long long int
| %lld
norela.cpp:52:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
52 | printf("%d ", i + 1);
| ~^ ~~~~~
| | |
| int long long int
| %lld
norela.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
norela.cpp:24:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | scanf("%d", &q);
| ~~~~~^~~~~~~~~~
norela.cpp:26:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | scanf("%d", &bit);
| ~~~~~^~~~~~~~~~~~