
字符串
lyhvoyage
不抛弃,不放弃!
展开
-
hdu 1062 Text Reverse 字符串
Text Reverse Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem Desc原创 2013-07-09 17:31:33 · 9425 阅读 · 3 评论 -
ZOJ 3700 Ever Dream(模拟)
Ever DreamTime Limit: 2 Seconds Memory Limit: 65536 KB"Ever Dream" played by Nightwish is my favorite metal music. The lyric (see Sample Input) of this song is much more like a poem. E原创 2014-11-16 20:07:11 · 1747 阅读 · 0 评论 -
NYOJ 1085 数单词 (AC自动机模板题)
数单词时间限制:1000 ms | 内存限制:65535 KB难度:4描述为了能够顺利通过英语四六级考试,现在大家每天早上都会早起读英语。LYH本来以为自己在6月份的考试中可以通过六级,可是没想到,成绩出来以后,居然没有通过。所以他不得不付出更多的时间来学习英语。要想通过六级,最基本的要求就是词汇量。为了能够更快的记住一些陌生单词,LYH有时会找一些原创 2014-09-29 08:20:06 · 2046 阅读 · 0 评论 -
ZOJ 1633 Big String(模拟构造)
Big StringTime Limit: 2 Seconds Memory Limit: 65536 KBWe will construct an infinitely long string from two short strings: A = "^__^" (four characters), and B = "T.T" (three characters). R原创 2014-08-02 18:30:43 · 2316 阅读 · 0 评论 -
hdu 3068 最长回文(manacher算法)
最长回文 Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem Description给出一个只由小写原创 2014-08-18 18:04:01 · 2753 阅读 · 0 评论 -
从头到尾彻底理解KMP
从头到尾彻底理解KMP作者:July时间:最初写于2011年12月,2014年7月21日晚10点 全部删除重写成此文,随后的半个多月不断反复改进。1. 引言 本KMP原文最初写于2年多前的2011年12月,因当时初次接触KMP,思路混乱导致写也写得混乱,如此,留言也是“骂声”一片。所以一直想找机会重新写下KMP,但苦于一转载 2014-08-14 09:10:31 · 1247 阅读 · 1 评论 -
zoj 3818 Pretty Poem(暴力处理字符串)2014年牡丹江赛区网络赛
Pretty PoemTime Limit: 2 Seconds Memory Limit: 65536 KBPoetry is a form of literature that uses aesthetic and rhythmic qualities of language. There are many famous poets in the contempora原创 2014-09-08 10:34:54 · 3100 阅读 · 0 评论 -
hdu 4915 Parenthese sequence(模拟)2014多校训练第5场
Parenthese sequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Problem Descriptio原创 2014-08-06 11:05:16 · 1994 阅读 · 1 评论 -
hdu 1867 A + B for you again (kmp)
A + B for you again Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem原创 2014-03-28 07:59:54 · 1484 阅读 · 0 评论 -
CodeForce 393A Nineteen
A. Nineteentime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice likes word "nineteen" very much. She has a原创 2014-02-19 08:49:12 · 1678 阅读 · 0 评论 -
hdu 1106 排序
排序 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Problem Description输入一行数字,如果我们把这行数字中的‘5原创 2013-09-04 21:51:18 · 1564 阅读 · 0 评论 -
Codeforce 143B - Help Kingdom of Far Far Away 2
B. Help Kingdom of Far Far Away 2time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor some time the program原创 2013-07-13 13:53:41 · 1411 阅读 · 0 评论 -
hdu 1228-A+B
A+B 字符串转化为数字原创 2013-07-13 08:33:41 · 4835 阅读 · 2 评论 -
UVA 489 - Hangman Judge
Hangman JudgeIn ``Hangman Judge,'' you are to write a program that judges a series of Hangman games. For each game, the answer to the puzzle is given as well as the guesses. Rules are the same as原创 2013-07-11 15:56:16 · 3412 阅读 · 0 评论 -
UVA 445 - Marvelous Mazes
Marvelous MazesYour mission, if you decide to accept it, is to create a maze drawing program. A maze will consist of the alphabetic characters A-Z, * (asterisk), and spaces.Input and OutputY原创 2013-07-11 12:58:29 · 2618 阅读 · 0 评论 -
CodeForce 525B Pasha and String(字符串)
Pasha and Stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPasha got a very beautiful string s for hi原创 2015-04-19 08:51:55 · 1572 阅读 · 0 评论