摘要: HH的项链 思路: 离线按照r排序,然后把小于r的数字加到线段树中,同时把出现过的a[j]的位置在线段树中删掉 代码: #define read() FastIO::read() #define clean() FastIO::flush() const int N = 1000010; int a 阅读全文
posted @ 2022-04-26 17:13 指引盗寇入太行 阅读(91) 评论(0) 推荐(0) 编辑