会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
seasonal
博客园
首页
管理
2016年8月28日
例题5-7 UVa136 Ugly Numbers(STL:priority_queue)
摘要: 题意:看白书要点:很简单的priority_queue应用题。之所以写个博客是为了总结一下priority_queue的写法。主要问题是VS中greater不是模板,但OJ中可以AC。需要特殊排序可以有以下两种写法:struct node{ int x, y;};st...
阅读全文
posted @ 2016-08-28 16:57 seasonal
阅读(105)
评论(0)
推荐(0)
编辑