2018-05-08から1日間の記事一覧
またもや写経です。 2つの文字列の最大長を二次元配列で記憶する 文字一致ループの中で1つ前の最大長と比較していく ということですが、この発想が出てこない。。 #include <iostream> #include <string> #include <algorithm> using namespace std; static const int N = 1000; static </algorithm></string></iostream>…
またもや写経です。 2つの文字列の最大長を二次元配列で記憶する 文字一致ループの中で1つ前の最大長と比較していく ということですが、この発想が出てこない。。 #include <iostream> #include <string> #include <algorithm> using namespace std; static const int N = 1000; static </algorithm></string></iostream>…