码迷,mamicode.com
首页 >  
搜索关键字:sliding    ( 270个结果
poj 2823 Sliding Window 题解
Sliding Window Time Limit: 12000MS Memory Limit: 65536K Total Submissions: 53037 Accepted: 15207 Case Time Limit: 5000MS Description An array of size ...
分类:Windows程序   时间:2016-07-06 11:46:52    阅读次数:289
学习笔记:单调队列
转自:http://apps.hi.baidu.com/share/detail/34010558 【单调队列】在解一个序列某个区间段的最值问题,我们可以用到单调队列来解决。 比如poj2823 Sliding Window 就是一个很好的例子:给定一个序列,要求序列中固定长度为k 的区间中的最大值 ...
分类:其他好文   时间:2016-07-05 12:06:32    阅读次数:206
【Leetcode】Sliding Window Maximum
题目链接:https://leetcode.com/problems/sliding-window-maximum/题目: Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only s...
分类:Windows程序   时间:2016-07-03 19:54:15    阅读次数:163
第三方侧滑菜单SlidingMenu在android studio中的使用
南尘:每天进步一点点! 前面讲了官方的侧滑菜单DrawerLayout的使用,其实早在官方没有推出这个之前,就有很多第三方的jar包如SlidingMenu等,感谢开源的力量。 SlidingMenu是一个开源的侧滑菜单(https://github.com/jfeinstein10/Sliding ...
分类:移动开发   时间:2016-06-26 10:19:59    阅读次数:335
239. Sliding Window Maximum
...
分类:Windows程序   时间:2016-06-19 06:41:52    阅读次数:196
Codeforces Round #356 (Div. 2) [Codeforces680]
A Bear and Five Cards 贪心 B Bear and Finding Criminals 枚举 C Bear and Prime 100 数论 D Bear and Tower of Cubes 贪心 E Bear and Square Grid Sliding-window Technique...
分类:其他好文   时间:2016-06-12 02:30:49    阅读次数:253
POJ 2823 Sliding Window ST RMQ
Description An array of size n ≤ 106 is given to you. There is a sliding window of size k which is moving from the very left of the array to the very ...
分类:Windows程序   时间:2016-05-17 13:21:18    阅读次数:372
MD之材料设计库(一)
本文主要介绍部分support:design(材料设计库)的控件使用,以及官方模板NavigationDrawer的实现。DrawerLayout该控件是一个侧滑菜单布局,当按照规定书写xml布局文件后,即可轻松实现侧滑效果。 ps:用于替代第三方的侧滑菜单,如sliding menu等。这里给一个简单的Demo示例(配合Toolbar,不熟悉请看MD设计之起步):左右侧滑菜单设定DrawLayo...
分类:其他好文   时间:2016-05-13 02:50:29    阅读次数:197
[LeetCode] Moving Average from Data Stream 从数据流中移动平均值
Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. For example,MovingAverage m = new Mo ...
分类:移动开发   时间:2016-05-01 06:35:23    阅读次数:241
CDOJ Sliding Window 线段树(nlogn)或双端队列(n) 模板
题目链接: L - Sliding Window Time Limit:6000MS Memory Limit:131072KB 64bit IO Format:%lld & %llu Submit Status Practice UESTC 201 题目链接: L - Sliding Window ...
分类:Windows程序   时间:2016-04-29 22:11:36    阅读次数:323
270条   上一页 1 ... 12 13 14 15 16 ... 27 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!