01 2022 档案

摘要:1.首先解释一下大根堆小根堆的表示方法: priority_queue<int> a; //等同于 priority_queue<int, vector<int>, less<int> > a; 当然也可以定义小根堆: priority_queue<int, vector<int>, greater 阅读全文
posted @ 2022-01-24 15:55 bonel 阅读(65) 评论(0) 推荐(0) 编辑
摘要:C NEUQ 思路:就是不要忽略那种NEUQNE这种情况,要记得是四个一组四个一组 代码: #include<iostream> #include<algorithm> #include<cstdio> #include<cstring> #include<cmath> using namespac 阅读全文
posted @ 2022-01-20 15:42 bonel 阅读(86) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示