foo.c: In function 'main':
foo.c:5:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%d %d",&l,&p);
~^ ~~
%lld
foo.c:5:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
scanf("%d %d",&l,&p);
~^ ~~
%lld
foo.c:11:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",n);
~^
%lld
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&l,&p);
^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务