#Talent

HDU 2594 Simpsons’ Hidden Talents KMP

题目的地址: http://acm.hdu.edu.cn/showproblem.php?pid=2594题意:给你两个字符串s1,s2,让你求一个最大长度的子串t,t是s1的前缀,并且是s2的后缀,输出t和t的长度,如果不存在,直接输出0.1、直接求next #include<iostrea...

1062 Talent and Virtue (25分)(水)

About900yearsago,aChinesephilosopherSimaGuangwroteahistorybookinwhichhetalkedaboutpeople'stalentandvirtue.Accordingtohistheory,amanbeingoutstandinginbothtalenta...

1062. Talent and Virtue (25)

About900yearsago,aChinesephilosopherSimaGuangwroteahistorybookinwhichhetalkedaboutpeople'stalentandvirtue.Accordingtohistheory,amanbeingoutstandinginbothtalenta...
代码星球 代码星球·2020-04-08