0_0_13745023_9665.cpp: In function 'int main()':
0_0_13745023_9665.cpp:15:9: error: expected ';' before 'for'
for(int i=0;i<n;i++) scanf("%d",&a[i]);
^
0_0_13745023_9665.cpp:15:21: error: 'i' was not declared in this scope
for(int i=0;i<n;i++) scanf("%d",&a[i]);
^
|