My first 发表于 2019-04-01 | 更新于 2019-04-02 | 评论数: markdown测试1234567priority_queue<int> ins, del;void insert(int x) {ins.push(x);}void deletee(int x) {del.push(x);}int top() { while (!del.empty() and !ins.empty() and del.top() == ins.top()) {del.pop(); ins.pop();} return ins.top();} $LaTeX$测试 -------------本文结束感谢您的阅读-------------