/in/foo.c: In function 'main':
/in/foo.c:6:14: error: 'd' undeclared (first use in this function)
scanf("%d",&d);
^
/in/foo.c:6:14: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:21: error: stray '\357' in program
for(int i=0;i<n;i++){
^
/in/foo.c:9:22: error: stray '\274' in program
for(int i=0;i<n;i++){
^
/in/foo.c:9:23: error: stray '\211' in program
for(int i=0;i<n;i++){
^
/in/foo.c:9:24: error: expected ')' before '{' token
for(int i=0;i<n;i++){
^
/in/foo.c:22:1: error: expected expression before '}' token
}
^
/in/foo.c:8:17: warning: unused variable 'max' [-Wunused-variable]
int min=999999,max=-999999;
^~~
/in/foo.c:8:6: warning: unused variable 'min' [-Wunused-variable]
int min=999999,max=-999999;
^~~
/in/foo.c:7:6: warning: unused variable 'a' [-Wunused-variable]
int a[n];
^