📄 lcs.cpp
字号:
#include <iostream>
#include <stdlib>
#include <stdio>
#include <string>
using namespace std;
enum direction {north, west, nw};
int print_LCS(enum direction **b, char *X, int i, int j);
int main()
{
int m, n; //lengths of the two strings
char *X, *Y; // the two strings, after copying
int **c; // table of LCS lengths
enum direction **b; // table of which optimal subprob solution
int i, j;
int length; // length of LCS of prefixes
string str1,str2;
cout<<"叫块
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -