随笔分类 -  字符串

摘要:Palindromic StringTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/contest/show/61Description秋实大哥喜欢探索新鲜事物,最近他发明了一种新型回文串,叫K重回文串!今天他想... 阅读全文
posted @ 2015-05-09 13:46 qscqesze 阅读(756) 评论(0) 推荐(0)
摘要:C. Remembering StringsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/543/problem/CDescriptionYou have multiset of n strings o... 阅读全文
posted @ 2015-05-08 14:27 qscqesze 阅读(528) 评论(0) 推荐(0)
摘要:1031: [JSOI2007]字符加密CipherTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hust.edu.cn/problem/show/1590Description喜欢钻研问题的JS 同学,最近又迷上了对加密方法的思考。一天,... 阅读全文
posted @ 2015-05-07 21:56 qscqesze 阅读(406) 评论(0) 推荐(0)
摘要:Power StringsTime Limit: 20 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=2406DescriptionGiven two strings a and b we define a*b to be their co... 阅读全文
posted @ 2015-05-07 13:33 qscqesze 阅读(548) 评论(0) 推荐(0)
摘要:Seek the Name, Seek the FameTime Limit: 20 SecMemory Limit: 256 MB题目连接http://poj.org/problem?id=2752DescriptionThe little cat is so famous, that many ... 阅读全文
posted @ 2015-05-07 13:09 qscqesze 阅读(508) 评论(0) 推荐(0)
摘要: 给你一个字符串,然后给你一个数字i,然后i到s.size()-i直接的位置全部翻转,然后问你m次操作之后,是什么样子 阅读全文
posted @ 2015-03-27 14:40 qscqesze 阅读(460) 评论(0) 推荐(0)
摘要: 输入分为两行,第一行为一个整数n,表示字符串的长度,第二行有n个连续的小写的英文字符,表示字符串的内容。 阅读全文
posted @ 2015-03-24 21:29 qscqesze 阅读(592) 评论(0) 推荐(0)
摘要: Description 给出字符串a和字符串b,保证b是a的一个子串,请你输出b在a中第一次出现的位置。 阅读全文
posted @ 2015-03-24 18:11 qscqesze 阅读(341) 评论(0) 推荐(0)
摘要:Phone ListTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 23722Accepted: 7289DescriptionGiven a list of phone numbers, determine if it is con... 阅读全文
posted @ 2015-02-27 18:49 qscqesze 阅读(184) 评论(0) 推荐(0)
摘要:Keywords SearchTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 38340Accepted Submission(s): 12349P... 阅读全文
posted @ 2015-02-20 16:35 qscqesze 阅读(280) 评论(0) 推荐(0)
摘要:OulipoTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 26252Accepted: 10478DescriptionThe French author Georges Perec (1936–1982) once wrote a... 阅读全文
posted @ 2015-02-20 10:48 qscqesze 阅读(283) 评论(0) 推荐(0)