A.SquareandRectangles模拟题[crayon-6767f4161195c701412040/]B.StadiumandGames\[(2^k-1)m+m(m-1)/2=n\]枚举k二分得出m[crayon-6767f4161196a741737761/]C.MonstersandDiamonds此题比较恶心QAQ求最短用个类似dijkstra的东西,如果一种u->{v}的转移所有mn[v]都确定了,把这个转移放进堆或者是某个转移的代价被更新了求最长用记忆化搜索,走出环就是inf[crayon-6767f41611972945602285/]D.Reclamation把图扩展成r...
3613.CowRelays求经过n条边的最短路,floyd+倍增QAQ[crayon-6767f41647495024882014/]2728.DesertKing最优比率生成树分数规划[crayon-6767f416474a8968595526/]1639.PicnicPlanning带度数限制的最小生成树http://wenku.baidu.com/link?url=UKcnK1pZvaVwypQOrIFRTOPzM4edIlBmqvnZjZipGf2o_6u-aB1F2tFsMGdUQbA1O-96menmbgyxNoSoWKWBeJnr-RJKuG2yM4b6Jf7IvR3[crayon-6767f416474...
poj2245.Lotto裸搜索[crayon-6767f416491e1230136648/]poj2601.Simplecalculations推公式麻烦。。直接二分[crayon-6767f416491f0282911407/]poj1635.Subwaytreesystems树的同构,哈希[crayon-6767f416491f9242121712/]poj2419.Forests暴力即可[crayon-6767f41649203252888169/]poj1717.Dominoesdp水题[crayon-6767f4164920d063380783/]poj2949.WordRings建图+分数规划[crayon-6767f41649219445606592/] ...
近期评论