![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
HDU
Huffman_Tree_
这个作者很懒,什么都没留下…
展开
-
hdu5875 - Function(线段树 暴力)ICPC网络赛大连赛区
题目链接关于线段树的一道题主要考察建树、更新、查询和最后输出的操作F(l,r)分解后就是-A(l) % A(l+1) % A(l+2) %…% A(r-1) % A®分解后会发现最后的取值只与 A(l)和 >=A(l)的数值有关这题对树的维护比较麻烦#include <cstdio>#include <iostream>#include <c...原创 2019-08-17 17:10:15 · 145 阅读 · 0 评论 -
HDU1166_敌兵布阵(线段树)
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 153719 Accepted Submission(s): 63816Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和...原创 2019-09-23 22:16:37 · 185 阅读 · 0 评论 -
HDU1754_I HATE IT(线段树)
Time Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 88261 Accepted Submission(s): 33720Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高...原创 2019-09-23 22:45:16 · 139 阅读 · 0 评论 -
HDU 3397 I HATE IT
In the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecutive metallic sticks which are of the same length.Now Pudge wa...原创 2019-09-24 21:00:26 · 221 阅读 · 0 评论