摘要: 给定两个串,均由最小字母组成。求这两个串的最大公共字串LCS(Longest Common Substring)。使用动态规划解决。#include #include #include #include using namespace std;#define MAX 100int LCS(strin... 阅读全文
posted @ 2015-08-11 21:29 fangying 阅读(215) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include using namespace std;typedef struct BinTree{ int data; struct BinTree *left; st... 阅读全文
posted @ 2015-08-11 17:03 fangying 阅读(106) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-08-11 15:22 fangying 阅读(6) 评论(0) 推荐(0) 编辑