错误的求最长递增自序列算法——写完了才发现,有待于细心的你琢磨
#include
#include
using namespace std;
struct subsequence {
string s;//记录子串内容
int length;//记录子串长度
};
int main() {
string str;//原串
cin >> str;
int len = str.length();
struct subsequence *sub
原创
2016-09-16 12:36:03 ·
262 阅读 ·
0 评论