摘要: #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 阅读全文
posted @ 2011-10-12 16:21 Richard Zhong 阅读(397) 评论(0) 推荐(0) 编辑