0_0_37832643_12900.cpp:1:2: error: invalid preprocessing directive #<
#<bits/stdc++.h>
^
0_0_37832643_12900.cpp:4:1: error: 'string' does not name a type
string s[40005];
^
0_0_37832643_12900.cpp: In function 'int main()':
0_0_37832643_12900.cpp:6:2: error: 'ios' has not been declared
ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
^
0_0_37832643_12900.cpp:6:27: error: 'cin' was not declared in this scope
ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
^
0_0_37832643_12900.cpp:6:39: error: 'cout' was not declared in this scope
ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
^
0_0_37832643_12900.cpp:10:9: error: 's' was not declared in this scope
cin>>s[i];
^
0_0_37832643_12900.cpp:14:3: error: 'string' was not declared in this scope
string ans="";
^
0_0_37832643_12900.cpp:17:12: error: expected ';' before 't'
string t=s[1].substr(i,len);
^
0_0_37832643_12900.cpp:20:10: error: 's' was not declared in this scope
if (s[j].find(t)==-1){
^
0_0_37832643_12900.cpp:20:20: error: 't' was not declared in this scope
if (s[j].find(t)==-1){
^
0_0_37832643_12900.cpp:26:11: error: 't' was not declared in this scope
if (t<ans) ans=t;
^
0_0_37832643_12900.cpp:26:13: error: 'ans' was not declared in this scope
if (t<ans) ans=t;
^
0_0_37832643_12900.cpp:30:7: error: 'ans' was not declared in this scope
ans=t;
^
0_0_37832643_12900.cpp:30:11: error: 't' was not declared in this scope
ans=t;
^
0_0_37832643_12900.cpp:36:54: error: 'ans' was not declared in this scope
if (anslen==0) cout<<"IDENTITY LOST\n"; else cout<<ans<<endl;
^
0_0_37832643_12900.cpp:36:59: error: 'endl' was not declared in this scope
if (anslen==0) cout<<"IDENTITY LOST\n"; else cout<<ans<<endl;
^
|