Run id: 129977

Main.cc: In function 'int main()':
Main.cc:18:22: error: invalid operands of types 'int' and '' to binary 'operator>'
    if(abs(a[i]-a[j])>min)
                      ^
Main.cc:9:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
                ^
Main.cc:12:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
                    ^