bitaro.cpp: In function 'int main()':
bitaro.cpp:24:44: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
24 | while (!pq.empty() && dp[i].size() < k) {
| ~~~~~~~~~~~~~^~~
bitaro.cpp:27:24: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (ptr[y] < dp[y].size()) {
bitaro.cpp:10:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | scanf("%d %d %d", &n, &m, &q);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:15:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | while (m--) scanf("%d %d", &x, &y), v[y].emplace_back(x);
| ~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:35:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | scanf("%d %d", &t, &r);
| ~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:37:31: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | for (auto &e: c) scanf("%d", &e), f[e] = 1;
| ~~~~~^~~~~~~~~~