worst_reporter3.cpp: In function 'int main()':
worst_reporter3.cpp:33:7: 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:36: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:43:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
ll A, B, C; scanf("%lld%lld%lld", &A, &B, &C);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~