worst_reporter3.cpp: In function 'int32_t main()':
worst_reporter3.cpp:23:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 1; i < st.size(); i++) {
| ~~^~~~~~~~~~~
worst_reporter3.cpp:24:7: warning: unused variable 'last' [-Wunused-variable]
24 | int last = st[i-1], aq = st[i];
| ^~~~
worst_reporter3.cpp:24:23: warning: unused variable 'aq' [-Wunused-variable]
24 | int last = st[i-1], aq = st[i];
| ^~
worst_reporter3.cpp:11:17: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | int n, q; scanf("%lld %lld", &n, &q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
worst_reporter3.cpp:14:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%lld", d+i);
| ~~~~~^~~~~~~~~~~~~
worst_reporter3.cpp:36:21: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | int t, L, R; scanf("%lld %lld %lld", &t, &L, &R);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~