Update cv1/program.c
This commit is contained in:
parent
058d465404
commit
bacc2869ef
@ -25,6 +25,7 @@ bool check(char* s2, char *pz)
|
|||||||
s[i]=shifer[s[i]-'0'];
|
s[i]=shifer[s[i]-'0'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
s[strlen(s2)]=0;
|
||||||
bool rez=strstr(s, pz)!=NULL;
|
bool rez=strstr(s, pz)!=NULL;
|
||||||
free(s);
|
free(s);
|
||||||
return rez;
|
return rez;
|
||||||
@ -71,3 +72,4 @@ int main()
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user