/in/foo.cc: In function 'int main()':
/in/foo.cc:6:22: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%ld%ld",&l,&r);
^
/in/foo.cc:6:22: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:7:22: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
printf("%ld %ld",l,r);
^
/in/foo.cc:7:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=]