
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 · 199 阅读 · 0 评论 -
HDU1166_敌兵布阵(线段树)
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 153719 Accepted Submission(s): 63816 Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek和...原创 2019-09-23 22:16:37 · 233 阅读 · 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): 33720 Problem Description 很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高...原创 2019-09-23 22:45:16 · 174 阅读 · 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 · 250 阅读 · 0 评论