2019年2月23日

[APIO2014]回文串

摘要: [APIO2014]回文串 https://www.luogu.org/problemnew/show/P3649 题目描述 给你一个由小写拉丁字母组成的字符串 s。我们定义 s 的一个子串的存在值为这个子串在 s 中出现的次数乘以这个子串的长度。 对于给你的这个字符串 s,求所有回文子串中的最大存 阅读全文

posted @ 2019-02-23 17:42 Fighting_sh 阅读(329) 评论(0) 推荐(0) 编辑

Codeforces Beta Round #52 (Div. 2)

摘要: Codeforces Beta Round #52 (Div. 2) http://codeforces.com/contest/56 A 1 #include<bits/stdc++.h> 2 using namespace std; 3 #define lson l,mid,rt<<1 4 #d 阅读全文

posted @ 2019-02-23 11:30 Fighting_sh 阅读(176) 评论(0) 推荐(0) 编辑

导航