0_0_17711112_28973.cpp:6:2: error: invalid preprocessing directive #defien
#defien MAX 100000
^
0_0_17711112_28973.cpp: In function 'int main()':
0_0_17711112_28973.cpp:10:13: error: 'MAX' was not declared in this scope
char s1[MAX*2+5],s2[MAX+5];
^
0_0_17711112_28973.cpp:11:16: error: 'str1' was not declared in this scope
while(cin>>str1>>str2!=NULL){
^
0_0_17711112_28973.cpp:11:22: error: 'str2' was not declared in this scope
while(cin>>str1>>str2!=NULL){
^
0_0_17711112_28973.cpp:12:19: error: 's2' was not declared in this scope
if(strlen(s2)>strlen(s1)){
^
0_0_17711112_28973.cpp:12:30: error: 's1' was not declared in this scope
if(strlen(s2)>strlen(s1)){
^
0_0_17711112_28973.cpp:16:24: error: 's1' was not declared in this scope
int len=strlen(s1);
^
0_0_17711112_28973.cpp:20:22: error: 's2' was not declared in this scope
if(strstr(s1,s2)!=0)printf("yes\n");
^
|