kZjPBD.jpg
摘要: 题目描述 给定两个字符串,求出在两个字符串中各取出一个子串使得这两个子串相同的方案数。两个方案不同当且仅当这两个子串中有一个位置不同。 输入输出格式 输入格式: 两行,两个字符串s1,s2,长度分别为n1,n2。1 <=n1, n2<= 200000,字符串中只有小写字母 输出格式: 输出一个整数表 阅读全文
posted @ 2019-05-20 20:48 Through_The_Night 阅读(228) 评论(0) 推荐(0)
摘要: Little Sub loves playing the game Flip Me Please. In the game, lights, numbered from 1 to , are connected separately to switches. The lights may be ei 阅读全文
posted @ 2019-05-20 16:13 Through_The_Night 阅读(410) 评论(0) 推荐(0)