foehn_phenomena.cpp: In function 'llint val(llint, llint)':
foehn_phenomena.cpp:24:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (x<y) return (x-y)*s; return (x-y)*t;
^~
foehn_phenomena.cpp:24:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
if (x<y) return (x-y)*s; return (x-y)*t;
^~~~~~
foehn_phenomena.cpp: In function 'int main()':
foehn_phenomena.cpp:28: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:30:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &l[i]);
~~~~~^~~~~~~~~~~~~~~
foehn_phenomena.cpp:38:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &lef, &rig, &d);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~