如果你使用小根堆,请使用priority_queue<int,vector<int>,greater<int>,即使“greater”是更大的意思。 ——出自《zxChicken的语录》
priority_queue<int,vector<int>,greater<int>