会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
/bin
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
2013年8月30日
hdu 4513 吉哥系列故事——完美队形II(manacher)
摘要: 吉哥系列故事——完美队形IITime Limit: 3000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 765Accepted Submission(s): 254 Problem Desc...
阅读全文
posted @ 2013-08-30 19:58 /bin
阅读(165)
评论(0)
推荐(0)
2013年8月29日
poj 1637 Sightseeing tour
摘要: Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 6706 Accepted: 2773 Description ...
阅读全文
posted @ 2013-08-29 16:38 /bin
阅读(168)
评论(0)
推荐(0)
2013年8月25日
poj 1149 PIGS
摘要: PIGS Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 14358 Accepted: 6390DescriptionMirko works on a pig farm that consists of M locked pig-houses and Mirko can't ...
阅读全文
posted @ 2013-08-25 22:53 /bin
阅读(157)
评论(0)
推荐(0)
2013年8月23日
C++ 中的set 容器
摘要: 1set容器set容器简介:set是一个容器,它用于储存数据并且能从一个数据集合中取出数据。它的每个元素的值必须惟一,而且系统会根据该值来自动将数据排序。每个元素的值不能直接被改变。关键字:begin、clear、count、empty、end、find、insert需加载的头文件:#include模板原型:template , class Allocator=allocator >说明: ...
阅读全文
posted @ 2013-08-23 13:39 /bin
阅读(3969)
评论(0)
推荐(0)
priority_queue的用法
摘要: priority_queue调用 STL里面的 make_heap(), pop_heap(), push_heap() 算法实现,也算是堆的另外一种形式。先写一个用 STL 里面堆算法实现的与真正的STL里面的 priority_queue用法相似的priority_queue, 以加深对 priority_queue 的理解。#include #include #include using namespace std;class priority_queue{private:vector data;public:void push( int t ){data.push_back(t);pu
阅读全文
posted @ 2013-08-23 13:30 /bin
阅读(202)
评论(0)
推荐(0)
上一页
1
2
3
公告