摘要: 对顶堆动态维护第k大的值。 #include<bits/stdc++.h> using namespace std; using i64=long long; void Showball(){ int n,w; cin>>n>>w; priority_queue<int,vector<int>,gr 阅读全文
posted @ 2024-10-22 14:47 Showball 阅读(36) 评论(0) 推荐(0)