⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lcs.cpp

📁 LCS Algorithm, this is a c++ code for lcs(Longest Common Subsequence)
💻 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 + -