字符串
HonniLin
double fighting
展开
-
UVA10905- Children's Game
题意: 找出最大的组合数 s CODE原创 2014-04-15 13:51:45 · 777 阅读 · 0 评论 -
LightOJ--1089 - Points in Segments (II)
题目: 题意:原创 2014-07-20 11:13:38 · 1071 阅读 · 0 评论 -
HDU 4763-Theme Section(字符串)
Problem Description It's time for music! A lot of popular musicians are invited to join us in the music festival. Each of them will play one of their representative songs. To make the programs more i原创 2014-09-12 19:55:38 · 514 阅读 · 0 评论 -
HDU 5007-Post Robot(字符串)
Problem Description DT is a big fan of digital products. He writes posts about technological products almost everyday in his blog. But there is such few comments of his posts that he feels depress原创 2014-09-15 08:29:29 · 624 阅读 · 0 评论 -
HDU 5371 - Hotaru's problem(Manacher算法)
题目: http://acm.hdu.edu.cn/showproblem.php?pid=5371 题意: 求出三段连续的序列,使得第一段是第二段的回文,第二段是第三段的回文,求出最长序列是多长。 思路: manacher算法,处理回文串。 枚举 i,满足mp[i] >= j-i+1 && mp[j] >= j-i+1, 更新答案 ans = j-i。 AC. #includ原创 2015-08-12 15:59:29 · 546 阅读 · 0 评论