发表评论取消回复
相关阅读
相关 Codeforces Round 73 D dp
接:[http://codeforces.com/contest/1221/problem/D][http_codeforces.com_contest_1221_pro...
相关 Codeforces 735E 树形DP
题意:给你一棵树,你需要在这棵树上选择一些点染成黑色,要求染色之后树中任意节点到离它最近的黑色节点的距离不超过m,问满足这种条件的染色方案有多少种? 思路:设dp\[x\]\
相关 @codeforces - 1214G@ Feeling Good
目录 @description@ @solution@ @accepted code@ @details@ --------------------
相关 【codeforces】The Text Splitting
![这里写图片描述][20160721224314224] ![这里写图片描述][20160721224324381] ![这里写图片描述][2016072122433
相关 codeforces (G) The Debut Album dp+滚动数组
[点击打开链接][Link 1] 题意: 找长度为n(n<=50000)的由1和2组成的字符串, 连续的1的个数不超过a(a<=300)个, 连续的2的个数不超过b
相关 codeforces 519D dp
D. A and B and Interesting Substrings time limit per test 2 seconds memory limit per
相关 CodeForces 189D(最短路+dp)
问题描述: PMP is getting a warrior. He is practicing a lot, but the results are not accepta
相关 【滚动数组】【状压DP】NOI2001炮兵阵地
![ContractedBlock.gif][] ![ExpandedBlockStart.gif][] 题目描述 司令部的将军们打算在NM的网格地
相关 Codeforces 1111E DP + 树状数组 + LCA + dfs序
题意:给你一颗树,有q次询问,每次询问给你若干个点,这些点可以最多分出m组,每组要满足两个条件:1:每组至少一个点,2:组内的点不能是组内其它点的祖先,问这样的分组能有多少个?
相关 CodeForces-1082G Increasing Frequency
题目链接:[CodeForces-1082G Increasing Frequency][] 题意 有$n$个点,$m$条边,每个点和每条边都有一个权值,要求你从所给的
还没有评论,来说两句吧...