foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | scanf("%d%d%lld%lld", &n, &q, &s, &t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:14:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | for(int i = 0; i <= n; i++) scanf("%lld", &a[i]);
| ~~~~~^~~~~~~~~~~~~~~
foehn_phenomena.cpp:30:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
30 | scanf("%d%d%lld", &l, &r, &x);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~