foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:6:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | scanf("%lld%lld%lld%lld%lld", &n, &q, &s, &t, &h1);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:8:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
8 | scanf("%lld", &h2);
| ~~~~~^~~~~~~~~~~~~
foehn_phenomena.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | scanf("%lld%lld%lld", &l, &r, &x);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~