随笔分类 -  字符串 -- Manacher

摘要:"传送门" A. Bad Ugly Numbers 233333。 Code B. Maximums 从前往后依次搞即可。 Code cpp / Author: heyuhhh Created Time: 2020/3/19 22:44:51 / include include include in 阅读全文
posted @ 2020-03-20 12:01 heyuhhh 阅读(655) 评论(0) 推荐(1) 编辑
摘要:2019 Multi University Training Contest 2 "题目链接" Beauty Of Unimodal Sequence 这个题的最长长度好求,主要是考虑如何字典序最小以及字典序最大。 对于字典序最小,最直接的想法就是一个一个取,然后看剩下的能不能满足条件;而字典序最大 阅读全文
posted @ 2019-08-01 21:09 heyuhhh 阅读(194) 评论(0) 推荐(0) 编辑
摘要:吉哥系列故事——完美队形II Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 5889 Accepted Submission(s): 2375 阅读全文
posted @ 2019-03-05 21:23 heyuhhh 阅读(164) 评论(0) 推荐(0) 编辑
摘要:Palindrome 题目链接:http://poj.org/problem?id=3974 Description: Andy the smart computer science student was attending an algorithms class when the profess 阅读全文
posted @ 2019-03-05 21:18 heyuhhh 阅读(187) 评论(0) 推荐(0) 编辑
摘要:最长回文 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 32783 Accepted Submission(s): 12028 题目链接:htt 阅读全文
posted @ 2019-03-05 21:14 heyuhhh 阅读(140) 评论(0) 推荐(0) 编辑