/in/foo.cc: In function 'int main()':
/in/foo.cc:15:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
scanf("%d%d",l,r);
^
/in/foo.cc:15:19: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
/in/foo.cc:16:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",b[r] - b[l - 1]);
^
/in/foo.cc:15:20: warning: 'l' may be used uninitialized in this function [-Wmaybe-uninitialized]
scanf("%d%d",l,r);
^
/in/foo.cc:15:20: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]