摘要: A. Theramore 考虑只对长度为3的子串进行操作,发现偶数位置的字符不会出现在奇数位置,奇数位置的字符不会出现在偶数位置。 对奇偶位置字符进行排序即可。 #include<bits/stdc++.h> using namespace std; const int MAXN = 1e5 + 5 阅读全文
posted @ 2022-08-13 22:46 Orzjh 阅读(52) 评论(0) 推荐(0)