-
sliding
说明: 求出sliding window的最大最小值(n 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 right. You can only see the k numbers in the window. Each time the sliding window moves rightwards by one position. Following is an example:
The array is [1 3-1-3 5 3 6 7], and k is 3.
Window position Minimum value Maximum value
[1 3 -1]-3 5 3 6 7 -1 3
1 [3 -1 -3] 5 3 6 7 -3 3
1 3 [-1 -3 5] 3 6 7 -3 5
1 3 -1 [-3 5 3] 6 7 -3 5
1 3 -1 -3 [5 3 6] 7 3 6
1 3 -1 -3 5 [3 6 7] 3 7
Your task is to determine the maximum and minimum values in the sliding window at each position. )
- 2011-04-03 19:25:46下载
- 积分:1
-
WPF-ColorDialog
WPF中实现调用颜色面板,并对字体进行设置的功能。(WPF calls the color palette to achieve, and the feature set of fonts.)
- 2013-12-19 10:53:33下载
- 积分:1
-
xitongbianshigongjuxiang
本文件介绍了matlab中系统辨识工具箱的相关函数,对采用系统辨识有很大帮助(This document describes the correlation function in Matlab System Identification Toolbox, helps a lot of system identification)
- 2013-05-07 13:46:26下载
- 积分:1
-
pdflibt源码。只不过是C++版
文件是pdflibnet的源码。可以按需生成64或者32位的,但是本人对C++不熟悉,大家看了之后可以一起互相讨论代码的使用,接口的调用等等
- 2022-12-26 13:55:08下载
- 积分:1
-
MRF2.0
说明: 在VC++下基于MRF来进行的图像分割源代码(In VC++ For MRF-based image segmentation source code)
- 2008-08-29 14:43:10下载
- 积分:1
-
GD32--ADCDMA
GD32(Cotex-M3内核)的ADC实验示例程序,完成芯片内核AD的采集及显示屏的显示(GD32 (Cotex-M3 core) of ADC experimental sample program, the completion of the acquisition and chip core AD screen display)
- 2021-03-06 15:29:30下载
- 积分:1
-
libfacedetection -硕士
很不错的libfacedetection-master,可以进行测试,准确率还是挺高的,基于opencv的。希望能帮助到大家。
- 2023-02-16 00:00:03下载
- 积分:1
-
ImageViewCtrl
一个picture控件类,可以对图片作简单处理,如:放大、缩小、滚动浏览等。(A picture control class, you can make a simple image processing, such as: zoom, scroll and so on.)
- 2013-08-20 17:18:04下载
- 积分:1
-
csharpmatlab
说明: c#与matlab混合编程--神经网络--tsp(c#,matlab programing-hopfield-tsp)
- 2009-07-22 15:32:29下载
- 积分:1
-
M01522 128X64(0.96寸)
0.96屏规格书及驱动代码,可以与不同MCU匹配(0.96 screen specification and driver code)
- 2017-08-14 16:12:35下载
- 积分:1