【字符串处理】
Mr丶Gao
加油!
展开
-
HDU 1870.愚人节的礼物【字符串处理】【思维练习】【8月2】
愚人节的礼物Problem Description四月一日快到了,Vayko想了个愚人的好办法——送礼物。嘿嘿,不要想的太好,这礼物可没那么简单,Vayko为了愚人,准备了一堆盒子,其中有一个盒子里面装了礼物。盒子里面可以再放零个或者多个盒子。假设放礼物的盒子里不再放其他盒子。用()表示一个盒子,B表示礼物,Vayko想让你帮她算出愚人指数,即最少需要拆多少个盒子才能拿到礼原创 2015-08-02 16:54:50 · 763 阅读 · 0 评论 -
HDU 1048.The Hardest Problem Ever【字符串处理】【8月25】
The Hardest Problem EverProblem DescriptionJulius Caesar lived in a time of danger and intrigue. The hardest situation Caesar ever faced was keeping himself alive. In order for him to surviv原创 2015-08-25 19:32:38 · 596 阅读 · 0 评论 -
HDU 1039.Easier Done Than Said?【字符串处理】【8月24】
Easier Done Than Said?Problem DescriptionPassword security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are often insecure. Som原创 2015-08-24 11:26:58 · 698 阅读 · 0 评论 -
HDU 2072.单词数【STL的优势以及字符串流的使用】【8月4】
单词数Problem Descriptionlily的好朋友xiaoou333最近很空,他想了一件没有什么意义的事情,就是统计一篇文章里不同单词的总数。下面你的任务是帮助xiaoou333解决这个问题。 Input有多组数据,每组一行,每组就是一篇小文章。每篇小文章都是由小写字母和空格组成,没有标点符号,遇到#时表示输入结束。 O原创 2015-08-04 14:54:56 · 533 阅读 · 0 评论 -
HDU 5455.Fang Fang【2015 ACM/ICPC Asia Regional Shenyang Online】【字符串处理】9月19
Fang FangProblem DescriptionFang Fang says she wants to be remembered.I promise her. We define the sequence F of strings.F0 = ‘‘f",F1 = ‘‘ff",F2 = ‘‘cff",Fn = Fn−1 + ‘‘f", for n原创 2015-09-19 19:30:28 · 484 阅读 · 0 评论 -
HDU 5578.Friendship of Frog【字符串相同字符最近距离】【2015ACM/ICPC亚洲区上海站】【12月30】
Friendship of FrogProblem DescriptionN frogs from different countries are standing in a line. Each country is represented by a lowercase letter. The distance between adjacent frogs (e.g. t原创 2015-12-30 13:08:54 · 1066 阅读 · 1 评论 -
HDU 1062.Text Reverse【栈或数组或字符串流】【字符处理】【8月30】
Text ReverseProblem DescriptionIgnatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then output them.原创 2015-08-30 14:32:58 · 685 阅读 · 0 评论 -
HDU 1075.What Are You Talking About【Map水题(字典树)】【5月25】
What Are You Talking AboutTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 102400/204800 K (Java/Others)Total Submission(s): 19661 Accepted Submission(s): 6454Problem Description原创 2016-05-25 17:36:48 · 303 阅读 · 0 评论