0_0_35965190_27405.cpp:4:10: error: 'n' was not declared in this scope
string a[n];
^
0_0_35965190_27405.cpp:5:7: error: 'n' was not declared in this scope
int c[n];
^
0_0_35965190_27405.cpp: In function 'int main()':
0_0_35965190_27405.cpp:21:8: error: 'a' was not declared in this scope
cin>>a[0];
^
0_0_35965190_27405.cpp:25:21: error: 'c' was not declared in this scope
if(a[i]==a[i-1]) c[i]=0;
^
0_0_35965190_27405.cpp:26:9: error: 'c' was not declared in this scope
else c[i]=1;
^
0_0_35965190_27405.cpp:31:8: error: 'c' was not declared in this scope
if (c[i]==0) continue;
^
0_0_35965190_27405.cpp:33:11: error: 'c' was not declared in this scope
while (c[i]==1)
^
|