登录
首页 » c++ » 树状数组的简单例题

树状数组的简单例题

于 2022-11-04 发布 文件大小:1.29 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

一道很简单的树状数组求极值问题,可以通过这种方式很大程度上优化区间和的查询。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • VC++数据曲线动态绘制显示类
    MFC编程 实现数据绘制成曲线。经兄弟推荐最终决定用两个控件MCSCOMM与TeeChart来完成此任务。MCSCOMM控件时vc自带的串口控件,TeeChart Pro是一个强大的VCL图表组件,支持上百种2D和3D图表风格,并提供40多个数学和统计函数、无限制的轴和22个调色板(MFC programming realizes data plotting into curves. After recommendation by brothers, we finally decided to use two controls, MCSCOMM and TeeChart, to accomplish this task. TeeChart Pro is a powerful VCL graphics component that supports hundreds of 2D and 3D graphics styles and provides more than 40 mathematical and statistical functions, unlimited axes and 22 palettes.)
    2020-06-18 07:20:01下载
    积分:1
  • source-code-of-brushless-motor
    说明:  无刷电机驱动器源代码。基于无传感器方案的无刷电机启动器。核心是换向角度检测:即电机反电势波形数据处理,经过衰减滤波,取出过零相位。应为低速反电势波形dB过小,波形扰动太大,本程序还不能稳定处理10Hz以下的换向计算。(Brushless motor driver source code. Program based on the sensorless brushless motor starter. Is the core to the point of view for detection: the motor back-EMF waveform data processing, through the attenuation filter, remove the zero-crossing phase. For low-speed back-EMF waveform dB is too small, waveform disturbance too, this procedure can not be stabilized to 10Hz for the following calculation.)
    2008-11-20 09:15:54下载
    积分:1
  • C++ Primer_Plus第6版中文版
    说明:  《C++ Primer Plus中文版(第6版)》是一本经久不衰的C++畅销经典教程,是第一本支持C++11新标准的程序设计图书,被誉为“开发人员学习C++的首选教程,没有之一”! c primer plus 第6版 中文版是许多朋友都在寻找的,由绿色先锋网进行整理并提供下载资源,让读者可以详细的了解C语言的相关知识和各类运算输出等内容,并增加了C11的介绍,是C语言学习着必看的书籍。("C + + Primer Plus Chinese Version (6th Edition)" is an enduring C + + best-selling classic tutorial. It is the first programming book to support the new C + + 11 standard. It is known as "the preferred tutorial for developers to learn C + +"! The Chinese version of c primer plus 6 is what many friends are looking for. It is organized by the green pioneer network and provides download resources, so that readers can have a detailed understanding of the relevant knowledge of C language and various kinds of operation output and other contents, and the introduction of C11 is added. It is a must read book for C language learning.)
    2021-01-19 00:18:16下载
    积分:1
  • EKF-C-simulation
    扩展卡尔曼滤波程序,C语言仿真。包括卡尔曼滤波简介及其算法实现代码。(EKF simulation)
    2013-09-28 15:32:08下载
    积分:1
  • Genetic_Algorithms
    solving job shop scheduling problem with setup times by Tabu Search Algorithm
    2013-09-16 01:29:41下载
    积分:1
  • Mtlab1rar
    MATLAB·各种命令都有,可随意查询。(MATLAB has a variety of command, are free to query.)
    2009-07-12 19:04:38下载
    积分:1
  • FFT
    自己用Matlab写的FFT的代码,主要是为了FPGA实现的前期建模(FFT using Matlab to write their own code, mainly to preliminary modeling of FPGA implementation)
    2010-07-21 10:45:00下载
    积分:1
  • ffmpeg3.0源代码
    ffmpeg3.0源码   FFmpeg是一套可以用来记录、转换数字音频、视频,并能将其转化为流的开源计算机程序。采用LGPL或GPL许可证。它提供了录制、转换以及流化音视 频的完整解决方案。它包含了非常先进的音频/视频编解码库libavcodec,为了保证高可移植性和编解码质量,libavcodec里很多codec 都是从头开发的。
    2022-01-25 20:46:19下载
    积分:1
  • 12C5A60S2EEPROM
    12C5A60S2 EEPROM 的读写操作(12C5A60S2 EEPROM read_write)
    2013-09-24 14:41:56下载
    积分:1
  • clock页面置换算法
    clock页面置换算法 用CLOCK置换算法仿真请求分页系统 1、设计目的:用高级语言编写和调试一个内存分配程序,加深对内存分配算法的理解。 2、设计要求: 1) 实现请求分页存储管理方式的页面置换算法:CLOCK算法 2) 内存物理块数固定为15个,对多个作业采用可变分配全局置换的策略分配物理块 3) 作业数量与作业大小(10-20页)可在界面进行设置 4) 所有作业按RR算法进行调度,时间片长度为1秒 5) 可为每个作业随机产生引用的页面串,也可以人工输入引用的页面串,页面串长度50---100,要求必须包括作业所有的页面,可作为样例数据保存 6) 可读取样例数据(要求存放在外部文件中)进行作业数量、作业大小、页面串长度的初始化 7) 要求采用可视化界面,模拟内存分配和使用情况图,可在运行过程中随时暂停,查看当前内存物理块使用情况。 8) 每次全部作业运行结束后,要求打印出访问命中率 (clock page replacement algorithm)
    2013-05-12 10:42:56下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载