原文
作者:
huolong
, 时间:2022-01-02 16:59:12 , 所有人可见, 阅读 11
```cpp
#include
#include
#include
priority_queue heap;
using namespace std;
int main()
{
int n;
cin >> n;
while (n -- )
{
int x;
cin >> x;
__________
}
int res = 0;
while (__________)
{
int a = __________;
int b = __________;
res -= -a - b;
heap.push(a + b);
}
cout << -res;
return 0;
}
```