0_0_20874521_3261.cpp: In function 'int main()':
0_0_20874521_3261.cpp:2:245: error: expected '}' at end of input
int main() { int a,b,c,i,n,f[1000],count=0; while(scanf("%d",&n)>0) { if(n==0) break; for(i=0;i<n;i++) scanf("%d",&f[i]); scanf("%d",&c); for(i=0;i<n;i++) { if(f[i]==c) count++; } printf("%d\n",count); count=0; }
^
|