/in/foo.c: In function 'main':
/in/foo.c:26:28: error: conflicting types for 'a'
int n,a[100000],b[100000],a,b=0,i,c,j;
^
/in/foo.c:26:8: note: previous declaration of 'a' was here
int n,a[100000],b[100000],a,b=0,i,c,j;
^
/in/foo.c:26:30: error: conflicting types for 'b'
int n,a[100000],b[100000],a,b=0,i,c,j;
^
/in/foo.c:26:18: note: previous declaration of 'b' was here
int n,a[100000],b[100000],a,b=0,i,c,j;
^
/in/foo.c:30:20: error: subscripted value is neither array nor pointer nor vector
scanf("%d%d\n",&a[i],b[i]);
^
/in/foo.c:30:25: error: subscripted value is neither array nor pointer nor vector
scanf("%d%d\n",&a[i],b[i]);
^
/in/foo.c:33:5: error: subscripted value is neither array nor pointer nor vector
a[i]=min(a[i],a[i-1]);
^
/in/foo.c:33:14: error: subscripted value is neither array nor pointer nor vector
a[i]=min(a[i],a[i-1]);
^
/in/foo.c:33:19: error: subscripted value is neither array nor pointer nor vector
a[i]=min(a[i],a[i-1]);
^
/in/foo.c:35:6: error: subscripted value is neither array nor pointer nor vector
a=a[i-1];
^
/in/foo.c:37:8: error: subscripted value is neither array nor pointer nor vector
b+=b[j]*a/a[j];
^
/in/foo.c:37:15: error: subscripted value is neither array nor pointer nor vector
b+=b[j]*a/a[j];
^