摘要:
#include <stdio.h>#include <stdlib.h>#include <string.h>int maxPrefix(const char* str1, const char* str2);intstate_transport(const char* p, const int n, const int m, char a){ char pk[n+2]; strncpy(pk, p, n); pk[n]=a; pk[n+1]='\0'; return maxPrefix(pk, p);}intmaxPrefix(const 阅读全文