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