随笔分类 -  Hash

摘要:link class Solution { public: const int mod=1E9+7; vector<long long> powerof26; string longestDupSubstring(string S) { int n=S.size(); powerof26.resiz 阅读全文
posted @ 2020-06-20 09:29 feibilun 阅读(126) 评论(0) 推荐(0)
摘要:link class Solution { public: long mod = 100000000000007L; long head=1L; int distinctEchoSubstrings(string text) { int n=text.size(); unordered_set<lo 阅读全文
posted @ 2020-05-10 09:13 feibilun 阅读(106) 评论(0) 推荐(0)