bitaro.cpp: In function 'int main()':
bitaro.cpp:30:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (b<B[j].size()&&i.fi<B[j][b].fi+1&&im.size()<MAX) {
~^~~~~~~~~~~~
bitaro.cpp:42:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (B[i].size()<MAX||C[j].size()<MAX) for (auto &k:B[i]) if (*lower_bound(all(C[j]), k.se)!=k.se) { ans[j]=k.fi; break; }
^
bitaro.cpp:18:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &N, &M, &Q);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
bitaro.cpp:19:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (int i=0, u, v; i<M; i++) scanf("%d %d", &u, &v), adj[v].eb(u);
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
bitaro.cpp:21:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t, &y); qu[t].eb(i);
~~~~~^~~~~~~~~~~~~~~~~
bitaro.cpp:22:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
C[i].resize(y); for (auto &j:C[i]) scanf("%d", &j); sort(all(C[i])); C[i].eb((1<<30));
~~~~~^~~~~~~~~~