foo.cc: In function 'int main()':
foo.cc:89:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
if (bi[i / fe] == 1)printf("%d\n", cc[i / fe]);
~~~~~~~~~~^
foo.cc:90:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
else{ printf("%d\n", a[i]); }
~~~~^
foo.cc:8:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &m, &p, &q);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务