P3224为什么用 pb_ds+启发式合并 会RE?求解决方法。
用 pb_ds 写的题解现在也只有 10 分。怎么回事呢?
关注【相关推荐】
push() //返回一个迭代器
top() //返回堆顶
size() //返回大小
empty() //判断是否为空
clear() //清空堆
pop() //弹出堆顶元素
join(priority_queue,&other) //合并两个堆.other会被清空
split(Pred prd,priority_queue &other) //分离除两个堆
modify(point_iterator it,const key //修改一个节点的值)