登录
首页 » 算法 » 线段树基本操作和使用

线段树基本操作和使用

于 2022-01-31 发布 文件大小:12.01 kB
0 134
下载积分: 2 下载次数: 1

代码说明:

线段树的基本操作,个类oj题目,有源代码,可以相互学习

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

发表评论

0 个回复

  • subpixel motion architecture
    subpixel motion architecture
    2022-06-11 20:47:05下载
    积分:1
  • 曲线拟合程序代码 曲线拟合程序代码
    曲线拟合程序代码 曲线拟合程序代码-Curve-fitting program code
    2023-08-23 20:45:03下载
    积分:1
  • adaboost分类工具箱
    主要用于分类。adaboost是目前分类最好的分类算法。通过不断学习改变样本的权重达到更好的分类效果。
    2022-03-16 20:50:09下载
    积分:1
  • cholesky,解三对角矩阵的
    cholesky算法,解三对角矩阵的-cholesky algorithm, and three diagonal matrix
    2022-10-06 10:05:03下载
    积分:1
  • C++实现基于用户的协同过滤
    算法过程:1).读入数据,将数据用user_brands存起来,同时建立userid_id,再建立id_brands  2).遍历id_brands得到物品-用户倒排表brand_ids,根据倒排表得到用户的相似矩阵sim_mat  3).为每个用户推荐产品:      3.1).求用户u买过的brand和所有brand的差集得到用户u没有买过的物品集合brand_unused;      3.2).用户u对每一个没用过的物品i的兴趣p(u,i):          3.2.1).找到与用户u最近的k个用户          对于每一个没用过的物品i:          3.2.2).找出这k个用户中对物品i有过行为的用户v[]√          3.2.3).将用户u和v[j]的兴趣相似度累加      3.3).取前m个最感兴趣的brand推荐给用户;  代码:UCF.cc(用户协同过滤核心代码):#include  #include  #include  #include  #include  #include  #include  #include  #include  #include  
    2023-03-01 07:45:04下载
    积分:1
  • VC下最牛的数表达式,将math.h 所有函数都集成到一起都能用计出来,包括加减乘除;(、 正玄、 余玄,乘方,log ln,等...
    VC下最牛的算数表达式,将math.h 所有函数都集成到一起都能用计算出来,包括加减乘除;(、 正玄、 余玄,乘方,log ln,等 -VC most cattle arithmetic expression math.h will integrate all functions are used together can be worked out including the arithmetic; (, Shogen, Yuxuan, involution, ln log, etc.
    2022-02-20 17:13:59下载
    积分:1
  • 数字通信权威书籍,伯克利教材!!!很有有用的
    数字通信权威书籍,伯克利教材!!!很有有用的-Digital communication authority of books, teaching at Berkeley! ! ! Very useful
    2023-06-17 01:30:04下载
    积分:1
  • static Huffman
    static Huffman
    2022-09-12 13:20:03下载
    积分:1
  • 多维傅里叶变换,二维DFT快速,共分五部
    多维傅里叶变换,二维DFT快速算法,共分五部--五:三维实序列3D-DFT快速算法-Multi-dimensional Fourier transform, fast algorithm for two-dimensional DFT is divided into 5- 5: Three-dimensional real sequence of 3D-DFT Fast Algorithm
    2022-05-05 04:47:16下载
    积分:1
  • 一致性验证
    分布性一致性算法的Isabella验证 we introduce a novel Broadcast-Free Algorithm that solves Consensusproblem in the presence of a Weak-Fairness property and an unreliablefailure detector -property, in asynchronous distributed systems, and later itsformal veri cation. The Broadcast-Free Algorithm Model is de ned as a globaltransition system that is unambigously generated by local transition rules. At thesystem run, the algorithm model attempts involves two concepts : one to systemrun represents a in nite computation and one to asynchronous communicationbetween processes without Broadcast.
    2022-01-25 17:35:22下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载