会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Whatbeg's blog
路漫漫其修远兮,仍须上下而求索
博客园
首页
新随笔
联系
订阅
管理
2014年3月4日
UVA 11235 Frequent Values ---RMQ
摘要: 大白书上的例题,具体讲解见大白书,最好用用一个Log数组直接求k,这样就是纯O(1)了#include #include #include #include #include using namespace std;#define N 100003int a[N],num[N],le[N],ri[N...
阅读全文
posted @ 2014-03-04 12:36 whatbeg
阅读(260)
评论(0)
推荐(0)
公告