小根堆:priority_queue<int,vector<int>,greater<int>>q; 大: priority_queue<int,vector<int>,less<int>>q; 程序员灯塔 转载请注明原文链接:priority_queue 喜欢 (0)