CSU 1328-最长回文子串变形
题目链接枚举就行,注意串长度为奇数和偶数的情况。#include <iostream>
#include <ctype.h>
#include <algorithm>
#include <stdlib.h>
#include <string.h>
using namespace std;const int maxn=1100;
string str;
int m,k,Max,j,start,cnt,
原创
2017-08-22 20:03:31 ·
225 阅读 ·
0 评论