摘要: A. 字符交换 每个字母分开考虑,一定至少有一个字母不动,枚举不动的位置,向两侧扩展至最大,尝试更新答案 注意无穷大的选择 code #include <cstring> #include <cstdio> using namespace std; int sum[27][4005],cnt[27] 阅读全文
posted @ 2022-02-09 21:40 Chen_jr 阅读(71) 评论(1) 推荐(1)