foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:17:23: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | int q;ll S,T;scanf("%i%i%lld%lld",&n,&q,&S,&T);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:18:44: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | ll a[n+100];for(int i=0;i<=n;i++) scanf("%lld",&a[i]);
| ~~~~~^~~~~~~~~~~~~~
foehn_phenomena.cpp:27:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | int l,r;ll x;scanf("%i%i%lld",&l,&r,&x);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~