会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Garrett_Wale
博客园
首页
新随笔
联系
订阅
管理
2019年8月20日
HDOJ-6645(简单题+贪心+树)
摘要: Stay Real "HDOJ 6645" 由小根堆的性质可以知道,当前最大的值就在叶节点上面,所以只需要排序后依次取就可以了。 include include include include include using namespace std; int n; long long heap[10
阅读全文
posted @ 2019-08-20 09:20 Garrett_Wale
阅读(88)
评论(0)
推荐(0)
编辑
公告