字符串——二分+Hash+LCP
pxlsdz
冲就完了!
展开
-
ACM-ICPC 2017 Asia Qingdao J. Suffix (二分 HASH LCP或者暴力)aa
Consider n given non-empty strings denoted by s1 , s2 , · · · , sn . Now for each of them, you need to select a corresponding suffix, denoted by suf1, suf2, · · · , sufn. For each string si, the suffi...原创 2019-08-16 17:01:43 · 533 阅读 · 3 评论 -
HDU6599多校第二场 I Love Palindrome String 回文树+HASH
I Love Palindrome String Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 1454Accepted Submission(s): 545 Problem Description You are...原创 2019-08-31 09:49:14 · 300 阅读 · 0 评论