2006年4月10日
摘要: 求两个string的最长公共子序列如:"abcdef", "aabacfe" => "abce""swew", "wews" => "wew"code:#include #include #include #include enum { MAX_LEN = 100 };void LCS_Aux(const char* s1, int l1, const char* s2, int l2, char... 阅读全文
posted @ 2006-04-10 22:17 万俊峰Kevin 阅读(1160) 评论(4) 推荐(0) 编辑