foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:11:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
11 | scanf("%d %d %d %d",&n,&q,&s,&t);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:11:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
11 | scanf("%d %d %d %d",&n,&q,&s,&t);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:11:19: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
11 | scanf("%d %d %d %d",&n,&q,&s,&t);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:11:22: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
11 | scanf("%d %d %d %d",&n,&q,&s,&t);
| ~^ ~~
| | |
| int* long long int*
| %lld
foehn_phenomena.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | scanf("%d %d %d %d",&n,&q,&s,&t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:12:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | for(int i=0;i<=n;i++)scanf("%lld",&vals[i]);
| ~~~~~^~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:18:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | scanf("%d %d %d",&a,&b,&d);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~