Auto commit

This commit is contained in:
smallkun 2025-04-01 16:16:54 +08:00
parent ad6ebb9fa2
commit 0fca9c9a65

View File

@ -42,8 +42,8 @@ int isSubstring(char *str1, char *str2)
i++;
j++;
}
if(str1[i] == str2[0]){
i--;
if(j != 0){
i-=j;
}
if(str2[j] == '\0'){
return 1;