「TJOI / HEOI2016」排序 ( 整体二分 + 线段树 )
题目链接
解题报告:
二分答案,将原串转成01串并用用线段树维护升降序排列即可。
#define first f
#define second s
#define ll long long
#define mp make_pair
#define pb push_back
#define pf push_front
#define lb lower_bound
#define ub upper_...
原创
2020-04-29 09:47:41 ·
118 阅读 ·
0 评论