Run id: 140207
Main.cc: In function 'int main()':
Main.cc:9:22: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
scanf("%lld",&a[i]);
^
Main.cc:18:7: error: 'else' without a previous 'if'
else k=a[j]-a[i];
^
Main.cc:7:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Main.cc:9:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&a[i]);
^