worst_reporter3.cpp: In function 'long long int solve(long long int, long long int, long long int)':
worst_reporter3.cpp:9:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < tup.size(); i++) {
~~^~~~~~~~~~~~
worst_reporter3.cpp: In function 'int main()':
worst_reporter3.cpp:21:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &N, &Q);
~~~~~^~~~~~~~~~~~~~~~~~~~
worst_reporter3.cpp:23:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &D[i]);
~~~~~^~~~~~~~~~~~~~~
worst_reporter3.cpp:35:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &T, &L, &R);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~