foo.c: In function 'main':
foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat=]
scanf("%d %d",xmin,xmax);
~^
foo.c:6:13: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
scanf("%d %d",xmin,xmax);
~^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",xmin,xmax);
^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:2: warning: 'xmin' is used uninitialized in this function [-Wuninitialized]
scanf("%d %d",xmin,xmax);
^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:6:2: warning: 'xmax' is used uninitialized in this function [-Wuninitialized]
[Hydro](https://hydro.ac)提供评测服务