0_0_27600015_17035.cpp:1:1: error: 'string' does not name a type
string s[100005];
^
0_0_27600015_17035.cpp: In function 'int main()':
0_0_27600015_17035.cpp:5:5: error: 'cin' was not declared in this scope
cin.sync_with_stdio(false);
^
0_0_27600015_17035.cpp:7:15: error: 'sf' was not declared in this scope
sf("%d",&c);
^
0_0_27600015_17035.cpp:13:9: error: 'string' was not declared in this scope
string p;
^
0_0_27600015_17035.cpp:16:18: error: 's' was not declared in this scope
cin>>s[i];
^
0_0_27600015_17035.cpp:20:17: error: 'p' was not declared in this scope
p=s[i];
^
0_0_27600015_17035.cpp:26:16: error: 'p' was not declared in this scope
if(p==s[i])continue;
^
0_0_27600015_17035.cpp:26:19: error: 's' was not declared in this scope
if(p==s[i])continue;
^
0_0_27600015_17035.cpp:27:19: error: 'p' was not declared in this scope
int k=p.find(s[i]);
^
0_0_27600015_17035.cpp:27:26: error: 's' was not declared in this scope
int k=p.find(s[i]);
^
0_0_27600015_17035.cpp:34:14: error: 'cout' was not declared in this scope
if(f)cout<<p<<endl;
^
0_0_27600015_17035.cpp:34:20: error: 'p' was not declared in this scope
if(f)cout<<p<<endl;
^
0_0_27600015_17035.cpp:34:23: error: 'endl' was not declared in this scope
if(f)cout<<p<<endl;
^
0_0_27600015_17035.cpp:35:14: error: 'cout' was not declared in this scope
else cout<<"No"<<endl;
^
0_0_27600015_17035.cpp:35:26: error: 'endl' was not declared in this scope
else cout<<"No"<<endl;
^
|