/in/foo.cc: In function 'int main()':
/in/foo.cc:9:16: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%ld",&n);
^
/in/foo.cc:12:17: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%ld",&k);
^
/in/foo.cc:27:16: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%ld",s);
^