worst_reporter3.cpp: In function 'int main()':
worst_reporter3.cpp:33:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
33 | int mid = low + high >> 1;
| ~~~~^~~~~~
worst_reporter3.cpp:41:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
41 | int mid = low + high >> 1;
| ~~~~^~~~~~
worst_reporter3.cpp:20:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | scanf("%lld%lld", &n, &q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
worst_reporter3.cpp:21:17: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | rep(i, n) scanf("%lld", &d[i]);
| ~~~~~^~~~~~~~~~~~~~~
worst_reporter3.cpp:28:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
28 | scanf("%lld%lld%lld", &T, &L, &R);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~