摘要:        
给定字符串最多可以写成几个相同的接在一起? Solution 有点暴力 先搞个hash, 然后暴力枚举len的因子, 那hash判断是否符合条件 Code #include<iostream> #include<cstdio> #include<queue> #include<cstring> #i    阅读全文
posted @ 2021-04-06 21:16
Tony_Double_Sky
阅读(36)
评论(0)
推荐(0)
        
            
        
        
摘要:        
求字符串首位一样的所有长度 Solution 对字符串建立hash, 枚举长度get_hash比较即可 Code #include<iostream> #include<cstdio> #include<queue> #include<cstring> #include<algorithm> #in    阅读全文
posted @ 2021-04-06 21:06
Tony_Double_Sky
阅读(61)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号