线段树
文章平均质量分 84
zero_one_Machel
这个作者很懒,什么都没留下…
展开
-
线段树再理解
板子例题 添加链接描述 代码 #include<stdio.h> #include<stdlib.h> #include<algorithm> #include<string.h> #include<map> #include<string> #define maxn 100005 #include <iostream> #include <cstdio> #include <cstdlib> #in原创 2020-11-13 21:29:09 · 73 阅读 · 0 评论 -
线段树
Data structure is one of the basic skills for Computer Science students, which is a particular way of storing and organizing data in a computer so that it can be used efficiently. Today let me introdu...原创 2019-08-09 11:28:47 · 68 阅读 · 0 评论 -
Tunnel Warfare(线段树)最长连续区间
题目(http://acm.hdu.edu.cn/showproblem.php?pid=1540) During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Generally speaking, v...原创 2019-08-24 13:15:46 · 231 阅读 · 0 评论 -
线段树进阶(区间合并)poj3667
题目 B - Hotel The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superior. Bessie, ever the competent travel agent, h...原创 2019-08-20 18:49:01 · 99 阅读 · 0 评论 -
E. Danil and a Part-time Job(Codeforces-877E)(dfs序+线段树)
题目: Danil decided to earn some money, so he had found a part-time job. The interview have went well, so now he is a light switcher. Danil works in a rooted tree (undirected connected acyclic graph) ...原创 2019-08-24 21:06:05 · 189 阅读 · 0 评论 -
Hotel poj3667 线段树进阶
题目(poj3667) The cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores of Lake Superior. Bessie, ever the competent travel agent, has n...原创 2019-09-05 21:47:29 · 103 阅读 · 0 评论