1694.AnOldStoneGamef[x]表示x为根的树至少需要的石头,把子树按f排序后贪心即可[crayon-676cb9716b1eb245678992/]poj1738.AnoldStoneGame参见discuss的神算法,据说是knuth提出的?[crayon-676cb9716b1f5859180774/]1737.ConnectedGraph跪大爷http://blog.csdn.net/PoPoQQQ/article/details/43525019[crayon-676cb9716b1fc356156825/]1742.Coins二进制拆分+bitset竟然过不了...我被题解骗了突然一想这不是以前做过...
3613.CowRelays求经过n条边的最短路,floyd+倍增QAQ[crayon-676cb9716b807307096190/]2728.DesertKing最优比率生成树分数规划[crayon-676cb9716b812812828639/]1639.PicnicPlanning带度数限制的最小生成树http://wenku.baidu.com/link?url=UKcnK1pZvaVwypQOrIFRTOPzM4edIlBmqvnZjZipGf2o_6u-aB1F2tFsMGdUQbA1O-96menmbgyxNoSoWKWBeJnr-RJKuG2yM4b6Jf7IvR3[crayon-676cb9716b8...
A.AmrandMusic排序贪心[crayon-676cb9716c6a7298794078/]B.AmrandPins算出距离除以直径[crayon-676cb9716c6b0444920628/]C.GuessYourWayOut!按位考虑[crayon-676cb9716c6b4797523892/]D.TheMathsLecture从后往前dpf(i,j,k)表示后i位,当前模为j,是否有后缀被K整除[crayon-676cb9716c6b8221592413/]E.BreakingGood广搜,选可用边最多的路径[crayon-676cb9716c6bf830436962/] ...
1966.CableTVNetwork枚举源汇求最小割[crayon-676cb9716de27222391217/]2386.LakeCounting搜索[crayon-676cb9716de34261032081/]3863.BusinessCenter枚举每个电梯,二分求最小值[crayon-676cb9716de3a023695210/]2504.Boundingbox求外心然后旋转n次得到多边形坐标精度弃坑。。[crayon-676cb9716de3e666822135/]3155.HardLife最大密度子图+方案分数规划[crayon-676cb9716de44912077315/]4028.GCDGuessingGame贪心策...
近期评论