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