/in/foo.cc: In function 'int main()':
/in/foo.cc:29:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d%I64d%I64d", &n, &m, &S);
^
/in/foo.cc:29:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:29:37: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:30:72: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for (long i = 1; i <= n; i++) scanf("%I64d%I64d", &ore[i].w, &ore[i].v), maxW = max(maxW, ore[i].v);
^
/in/foo.cc:30:72: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:31:70: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for (long i = 1; i <= m; i++) scanf("%I64d%I64d", &rg[i].l, &rg[i].r);
^
/in/foo.cc:31:70: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:32:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n", BiSearch());
^