【APIO2014】Palindromes

#103. 【APIO2014】Palindromes 统计 描述 提交 自定义测试给你一个由小写拉丁字母组成的字符串 ss。我们定义 ss 的一个子串的存在值为这个子串在 ss 中出现的次数乘以这个子串的长度
4次阅读

ural1297. Palindrome

1297. PalindromeTime limit: 1.0 secondMemory limit: 64 MBThe “U.S. Robots” HQ has just received a rather alarming anonymous letter. It sta
3次阅读

POJ3974 Palindrome

本文版权归ljh2000和博客园共有,欢迎转载,但须保留此声明,并给出原文链接,谢谢合作。  本文作者:ljh2000 作者博客:http://www.cnblogs.com/ljh2000-jump/转载请注明出处,侵权必究,保留最终解释权! DescriptionA
11次阅读

Light oj 1044 - Palindrome Partitioning(区间dp)

题目链接:http://lightoj.com/volume_showproblem.php?problem=1044dp[i][j]表示i到j直接的最小回文区间个数,直接看代码 1 #include <bits/stdc++.h> 2 using namespace std; 3 co
7次阅读

[LeetCode] Longest Palindrome 最长回文串

 Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters
17次阅读

longest-palindrome

https://leetcode.com/problems/longest-palindrome/public class Solution { public int longestPalindrome(String s) { char []charr = s.toCharArr
7次阅读

Codeforces Beta Round #7 D. Palindrome Degree manacher算法+dp

题目链接:http://codeforces.com/problemset/problem/7/DD. Palindrome Degreetime limit per test1 secondmemory limit per test256 megabytes问题描述String s of leng
23次阅读

Palindrome Partitioning

Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of
9次阅读

Palindrome Partitioning II Leetcode

  Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for
12次阅读

Ural 2040. Palindromes and Super Abilities 2 回文自动机

2040. Palindromes and Super Abilities 2题目连接:http://acm.timus.ru/problem.aspx?space=1&num=2040DescriptionDima adds letters s1, …, sn one by one to
22次阅读