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