会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lypbendlf
博客园
首页
新随笔
联系
订阅
管理
2021年9月19日
小顶堆与大顶堆的自定义cmp函数[已迁移]
摘要: 1.实验 #include<bits/stdc++.h> using namespace std; int main(){ //auto cmp=[](int a,int b){return a<b;};//3 重定义小于号,即less,是大顶堆,即默认的 auto cmp=[](int a,int
阅读全文
posted @ 2021-09-19 15:15 lypbendlf
阅读(205)
评论(0)
推荐(0)
编辑
公告