会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Evensgn的笔记本
May the Force be with you.
博客园
首页
新随笔
联系
订阅
管理
2015年3月1日
[CF Round #294 div2] D. A and B and Interesting Substrings 【Map】
摘要: 题目链接:D. A and B and Interesting Substrings题目大意给定26个小写字母的权值,一共26个整数(有正有负)。给定一个小写字母组成的字符串(长度10^5),求有多少长度大于1的子串满足:1)首尾字符相同。2)除了首尾字符外,其他字符的权值和为0。题目分析使用STL...
阅读全文
posted @ 2015-03-01 14:07 JoeFan
阅读(200)
评论(0)
推荐(0)
公告