/in/foo.c: In function 'main':
/in/foo.c:8:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&n);
^
/in/foo.c:11:11: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d",&a[i]);
^
/in/foo.c:12:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
scanf("%d %d",&min,&max);
^
/in/foo.c:12:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
scanf("%d %d",&min,&max);
^
/in/foo.c:33:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d",zheng);
^
/in/foo.c:40:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
printf("%d",fu);
^