foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:14:13: warning: unused variable 'T' [-Wunused-variable]
long long T = 0; T0 -= (d[l] >= 0 ? -d[l] * s : -d[l] * t);
^
foehn_phenomena.cpp:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld", &n, &q, &s, &t);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foehn_phenomena.cpp:7:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 0; i <= n; i++) scanf("%lld", &a[i]);
~~~~~^~~~~~~~~~~~~~~
foehn_phenomena.cpp:13:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &l, &r, &del);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~