/in/foo.cc: In function 'int main()':
/in/foo.cc:8:44: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
long long l, r; scanf("%I64d%I64d", &l, &r);
~~ ^
/in/foo.cc:8:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:17:99: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for(long long i = l; i <= r; ++i) if(ans[i-l]) printf("%d\n", ans[i-l]); else printf("%I64d\n", i);
^