/in/foo.cc: In function 'int main()':
/in/foo.cc:9:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&n);
^
/in/foo.cc:10:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for(i=1;i<=n;i++)scanf("%I64d",&a[i]);
^
/in/foo.cc:14:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
if(a[i]!=a[i-1] && a[i]!=a[i+1])printf("%d ",a[i]);
^