worst_reporter3.cpp: In function 'int main()':
worst_reporter3.cpp:32:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
worst_reporter3.cpp:11:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &num, &query);
~~~~~^~~~~~~~~~~~~~~~~~~~~~
worst_reporter3.cpp:18:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &z);
~~~~~^~~~~~~~~~~~
worst_reporter3.cpp:30:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld", &zt, &zl, &zr);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~