摘要: Problem Description 问题很简单,给你一个字符串s,问s的子串中不包含s1,s2...sn的最长串有多长。 Input 输入包含多组数据。第一行为字符串s,字符串s的长度1到10^6次方,第二行是字符串s不能包含的子串个数n,n<=1000。接下来n行字符串,长度不大于100。 字 阅读全文
posted @ 2016-08-24 15:42 惟愿。。。 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 推荐播客:http://www.cnblogs.com/acm-bingzi/p/3265277.html 阅读全文
posted @ 2016-08-24 15:41 惟愿。。。 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Problem Description Fang Fang says she wants to be remembered.I promise her. We define the sequence F of strings.F0 = ‘‘f",F1 = ‘‘ff",F2 = ‘‘cff",Fn = 阅读全文
posted @ 2016-08-24 10:31 惟愿。。。 阅读(207) 评论(0) 推荐(0) 编辑