题目地址:http://poj.org/problem?id=1080 Description It is well known that a human gene can be considered as a sequence, consisting of four nucleotides, which are simply denoted by four letters, A, C, G, and T. Biologists have been interested in identifyi
/** * @brief longest common subsequence(LCS) * @author An * @data 2013.8.26 **/ #include <iostream> #include <string> using namespace std; enum Direction { Zero, LeftUp, Up, Left }; static int m; // length of the first sequence static int n; /