摘要: 1004.Distinct Sub-palindromes 签到题,问长度为n且回文子串的个数最少的串的数量 想到 abcabcabc... 排列回文子串最少为3 n=1,2,3特殊处理一下 #include <bits/stdc++.h> using namespace std; typedef 阅读全文
posted @ 2020-07-22 13:50 若讷 阅读(314) 评论(0) 推荐(0) 编辑