发表评论取消回复
相关阅读
相关 【codeforce】Spongebob and Joke
![这里写图片描述][20160723111414780] ![这里写图片描述][20160723111423420] ![这里写图片描述][2016072311143
相关 【codeforces】Pasha and Stick
![这里写图片描述][20160721230034639] ![这里写图片描述][20160721230050982] ![这里写图片描述][2016072123010
相关 【codeforces】Patrick and Shopping
![这里写图片描述][20160721223108163] ![这里写图片描述][20160721223120242] ![这里写图片描述][2016072122313
相关 codeforces 558A. Lala Land and Apple Trees
> A. Lala Land and Apple Trees >
相关 codeforces 1076E Vasya and a Tree 树上差分
题意:给你一棵1为根节点的树,初始每个节点权值为0,有m次操作,每次操作 v d x,表示将以v为根的子树,深度不超过d的所有节点加上x。 思路:dfs的性质+差分思想
相关 [Codeforces741D]Arpa's letter-marked tree and Mehrdad's Dokhtar-kosh paths——dsu on tree
题目链接: [Codeforces741D][] 题目大意:给出一棵树,根为$1$,每条边有一个$a-v$的小写字母,求每个点子树中的一条最长的简单路径使得这条路径上
相关 ISO 639-1
转载自:http://zh.wikipedia.org/zh-cn/ISO\_639-1 ISO 639-1 ISO 639-1是[国际标准化组织
相关 Codeforces 343D Water Tree
题意简述 维护一棵树,支持以下操作: 0 v:将以v为跟的子树赋值为1 1 v:将v到根节点的路径赋值为0 2 v:询问v的值 题解思路 树剖
相关 【Codeforces 639B】Bear and Forgotten Tree 3
【链接】 [我是链接,点我呀:)][Link 1] 【题意】 【题解】 首先,因为高度是h 所以肯定1下面有连续的h个点依次连成一条链。->用了h+1个
相关 CF611H New Year and Forgotten Tree
题目描述 给定你一棵树,可是每个节点上的编号看不清了,只能辨别它的长度。现在用问号的个数代表每个节点编号那个数字的长度,请你还原这一颗树,任意输出一个方案,有SPJ来检验
还没有评论,来说两句吧...