0_0_14868296_30330.cpp: In function 'int main()':
0_0_14868296_30330.cpp:5:19: error: 'n' was not declared in this scope
while(scanf("%d",&n)!=EOF&&n!=0)
^
0_0_14868296_30330.cpp:7:5: error: 'i' was not declared in this scope
for(i=0;i<n;i++)
^
0_0_14868296_30330.cpp:9:11: error: 'b1' was not declared in this scope
if(a[i]<0)b1++;
^
0_0_14868296_30330.cpp:10:17: error: 'b2' was not declared in this scope
else if(a[i]==0)b2++;
^
0_0_14868296_30330.cpp:11:6: error: 'b3' was not declared in this scope
else b3++;
^
0_0_14868296_30330.cpp:13:21: error: 'b1' was not declared in this scope
printf("%d %d %d\n",b1,b2,b3);
^
0_0_14868296_30330.cpp:13:24: error: 'b2' was not declared in this scope
printf("%d %d %d\n",b1,b2,b3);
^
0_0_14868296_30330.cpp:13:27: error: 'b3' was not declared in this scope
printf("%d %d %d\n",b1,b2,b3);
^
|