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