0_0_28735512_12575.cpp: In function 'int main()':
0_0_28735512_12575.cpp:3:2: error: 'cin' was not declared in this scope
cin>>n;
^
0_0_28735512_12575.cpp:4:2: error: 'string' was not declared in this scope
string c;
^
0_0_28735512_12575.cpp:6:10: error: expected ';' before 'a'
string a[1001];
^
0_0_28735512_12575.cpp:9:9: error: 'a' was not declared in this scope
cin>>a[i];
^
0_0_28735512_12575.cpp:12:3: error: 'cout' was not declared in this scope
cout<<a[0]<<endl;
^
0_0_28735512_12575.cpp:12:9: error: 'a' was not declared in this scope
cout<<a[0]<<endl;
^
0_0_28735512_12575.cpp:12:15: error: 'endl' was not declared in this scope
cout<<a[0]<<endl;
^
0_0_28735512_12575.cpp:20:7: error: 'a' was not declared in this scope
if(a[i]=="0") continue;
^
0_0_28735512_12575.cpp:22:8: error: 'a' was not declared in this scope
if(a[j]=="0"||i==j) continue;
^
0_0_28735512_12575.cpp:23:8: error: 'a' was not declared in this scope
if(a[i]==a[j]){
^
0_0_28735512_12575.cpp:29:5: error: 'c' was not declared in this scope
c=a[i];
^
0_0_28735512_12575.cpp:29:7: error: 'a' was not declared in this scope
c=a[i];
^
0_0_28735512_12575.cpp:33:3: error: 'cout' was not declared in this scope
cout<<c<<endl;
^
0_0_28735512_12575.cpp:33:9: error: 'c' was not declared in this scope
cout<<c<<endl;
^
0_0_28735512_12575.cpp:33:12: error: 'endl' was not declared in this scope
cout<<c<<endl;
^
|