摘要: A. Reverse a Substring 题意:给一字符串,把一个区间的字符串倒置 要求倒置后字典序严格变小 只要看这个字符串有没有逆序对就好了 有的话输出 #include <bits/stdc++.h> using namespace std; const int maxn = 3e5 + 阅读全文
posted @ 2019-04-23 19:05 Mrzdtz220 阅读(314) 评论(0) 推荐(0)