本文共 294 字,大约阅读时间需要 1 分钟。
#include#include #include #include using namespace std;const int maxn=1005;char s[maxn];int dp[maxn][maxn];int ans;void init(){ ans=1; memset (dp,0,sizeof(dp));}int main(){ init(); cin.getline(s,1005); int len=strlen(s); for (int i=0;i
转载地址:http://fxaen.baihongyu.com/