foo.c: In function 'main':
foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
scanf("%d%d%d%d",&a,&b,&c,&d);
~^ ~~
%lld
foo.c:6:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=]
scanf("%d%d%d%d",&a,&b,&c,&d);
~^ ~~
%lld
foo.c:6:14: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=]
scanf("%d%d%d%d",&a,&b,&c,&d);
~^ ~~
%lld
foo.c:6:16: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=]
scanf("%d%d%d%d",&a,&b,&c,&d);
~^ ~~
%lld
foo.c:8:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",e);
~^
%lld
foo.c:5:12: warning: unused variable 'mod' [-Wunused-variable]
long long mod=1e9;
^~~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&a,&b,&c,&d);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务