P1140 相似基因

#include<iostream> #include<algorithm> using namespace std; const int N=1e2+50; int dp[N][N]; int la,lb,a[N],b[N]; int v[6][6]={ {0,0,0,0,0,0}, {0,5,-1,-2,-1,-3}, {0,-1,5,-3,-2,-4}, {0,-2,-3,5
相關文章
相關標籤/搜索