In file included from 0_0_31948385_18812.cpp:1:0:
0_0_31948385_18812.cpp: In function 'int main()':
0_0_31948385_18812.cpp:6:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
while(scanf("%d",&a[i]!=EOF))
^
0_0_31948385_18812.cpp:24:20: error: expected ']' before ')' token
printf("%d ",a[i);
^
|