foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:14:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
14 | scanf("%d %d %d %d", &N, &Q, &S, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:14:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
14 | scanf("%d %d %d %d", &N, &Q, &S, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:14:19: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
14 | scanf("%d %d %d %d", &N, &Q, &S, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:14:22: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
14 | scanf("%d %d %d %d", &N, &Q, &S, &T);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:30:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
30 | scanf("%d %d %d", &L, &R, &X);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:30:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
30 | scanf("%d %d %d", &L, &R, &X);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:30:23: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
30 | scanf("%d %d %d", &L, &R, &X);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:14:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%d %d %d %d", &N, &Q, &S, &T);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:19:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | scanf("%lld", &altitiudes[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:30:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
30 | scanf("%d %d %d", &L, &R, &X);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~