0_0_31943202_10512.cpp: In function 'int main()':
0_0_31943202_10512.cpp:5:8: error: 'cin' was not declared in this scope
while(cin>>n&&n)
^
0_0_31943202_10512.cpp:7:3: error: 'string' was not declared in this scope
string a[1100];
^
0_0_31943202_10512.cpp:11:9: error: 'a' was not declared in this scope
cin>>a[i];
^
0_0_31943202_10512.cpp:17:8: error: 'a' was not declared in this scope
if(a[i]==a[j])
^
0_0_31943202_10512.cpp:32:3: error: 'cout' was not declared in this scope
cout<<a[dex]<<endl;
^
0_0_31943202_10512.cpp:32:9: error: 'a' was not declared in this scope
cout<<a[dex]<<endl;
^
0_0_31943202_10512.cpp:32:17: error: 'endl' was not declared in this scope
cout<<a[dex]<<endl;
^
|