1379.RunAway模拟退火裸题[crayon-6743324f09973796472020/]2758.CheckingtheText暴力+哈希[crayon-6743324f0997d041052172/]poj3156.Interconnect由于状态是满足拓扑序的,所以直接dp上,再用个hash记忆化[crayon-6743324f09983789642584/]1837.Balancef(i,j)前i个力矩为j的方案,dp[crayon-6743324f0998a759373496/]3609.ResetSequence状压+bfs初始集合是0-n-1每个指令会使得集合中的一些元素消失,目标状态是只有一个0[c...
3613.CowRelays求经过n条边的最短路,floyd+倍增QAQ[crayon-6743324f1b2a8795123283/]2728.DesertKing最优比率生成树分数规划[crayon-6743324f1b2b5185220718/]1639.PicnicPlanning带度数限制的最小生成树http://wenku.baidu.com/link?url=UKcnK1pZvaVwypQOrIFRTOPzM4edIlBmqvnZjZipGf2o_6u-aB1F2tFsMGdUQbA1O-96menmbgyxNoSoWKWBeJnr-RJKuG2yM4b6Jf7IvR3[crayon-6743324f1b2...
A.AmrandMusic排序贪心[crayon-6743324f1c79a934763301/]B.AmrandPins算出距离除以直径[crayon-6743324f1c7a5599569894/]C.GuessYourWayOut!按位考虑[crayon-6743324f1c7a9163754145/]D.TheMathsLecture从后往前dpf(i,j,k)表示后i位,当前模为j,是否有后缀被K整除[crayon-6743324f1c7ad548408922/]E.BreakingGood广搜,选可用边最多的路径[crayon-6743324f1c7b3091136965/] ...
poj2245.Lotto裸搜索[crayon-6743324f1cd10077802571/]poj2601.Simplecalculations推公式麻烦。。直接二分[crayon-6743324f1cd1a426175526/]poj1635.Subwaytreesystems树的同构,哈希[crayon-6743324f1cd1f505096683/]poj2419.Forests暴力即可[crayon-6743324f1cd24239682617/]poj1717.Dominoesdp水题[crayon-6743324f1cd2a407182431/]poj2949.WordRings建图+分数规划[crayon-6743324f1cd30862796553/] ...
近期评论