sparklers.cpp:19:11: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
19 | void maxl(auto &a, auto b) {a = max(a, b);}
| ^~~~
sparklers.cpp:19:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
19 | void maxl(auto &a, auto b) {a = max(a, b);}
| ^~~~
sparklers.cpp:20:11: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
20 | void minl(auto &a, auto b) {a = min(a, b);}
| ^~~~
sparklers.cpp:20:20: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
20 | void minl(auto &a, auto b) {a = min(a, b);}
| ^~~~
sparklers.cpp: In function 'long long int ask(long long int, long long int, long long int)':
sparklers.cpp:28:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
28 | else dp[l][r] = 0; return dp[l][r];
| ^~~~
sparklers.cpp:28:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
28 | else dp[l][r] = 0; return dp[l][r];
| ^~~~~~
sparklers.cpp: In function 'void solve()':
sparklers.cpp:36:22: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
36 | int mid = lo + hi >> 1;
| ~~~^~~~
sparklers.cpp: In function 'int main()':
sparklers.cpp:47:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
47 | freopen("pqh.inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
sparklers.cpp:48:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
48 | freopen("pqh.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~