
字符串处理--------------------
RomanticChopin
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #527 (Div. 3) A. Uniform String
A. Uniform Stringtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two integers nn and kk.Your task is to construct...原创 2019-01-12 16:01:13 · 205 阅读 · 0 评论 -
浙江中医药大学第十二届大学生程序设计竞赛 Jhadgre的小饼干
链接:https://ac.nowcoder.com/acm/contest/333/I来源:牛客网 题目描述最近Jhadgre拿到了一个系列表情包,他很高兴,于是他给每个关系好的女性好友都送了一盒饼干外带这一套表情包。 结果让他惊呆了,竟然真的有女孩子答应他........再来一盒(不然你以为?)当然也有人回复一些其他的消息...唯独没有答应做他女朋友的人。Jha...原创 2019-01-12 16:02:09 · 230 阅读 · 0 评论 -
Educational Codeforces Round 59 [Rated for Div. 2] A. Digits Sequence Dividing
You are given a sequence ss consisting of nn digits from 11 to 99.You have to divide it into at least two segments (segment — is a consecutive sequence of elements) (in other words, you have to plac...原创 2019-01-27 00:39:46 · 319 阅读 · 0 评论 -
Applese 的回文串 (判断一个字符串去掉任意一个字符后是否是回文串)
链接:https://ac.nowcoder.com/acm/contest/330/I来源:牛客网 自从 Applese 学会了字符串之后,精通各种字符串算法,比如……判断一个字符串是不是回文串。这样的题目未免让它觉得太无聊,于是它想到了一个新的问题。如何判断一个字符串在任意位置(包括最前面和最后面)插入一个字符后能不能构成一个回文串?输入描述:仅一行,为一个由字母和数...原创 2019-01-29 19:21:17 · 482 阅读 · 0 评论