worst_reporter3.cpp: In function 'int main()':
worst_reporter3.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < groups.size(); j++) {
~~^~~~~~~~~~~~~~~
worst_reporter3.cpp:16:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&Q);
~~~~~^~~~~~~~~~~~~~~
worst_reporter3.cpp:17:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (i = 0; i < N; i++) scanf("%d",&D[i]);
~~~~~^~~~~~~~~~~~
worst_reporter3.cpp:32:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&T,&L,&R);
~~~~~^~~~~~~~~~~~~~~~~~~~~