串的模式匹配——BF算法
BF算法——又称”蛮力算法“Brute-Force#include<stdio.h>#include<stdlib.h>#include<string.h>int main() { char a1[50] = {0}, a2[50] = {0}; scanf("%s", a1); scanf("%s", a2); int len1 = strl...