poj2245.Lotto裸搜索[crayon-68e9115076f90904499050/]poj2601.Simplecalculations推公式麻烦。。直接二分[crayon-68e9115076f9a652686453/]poj1635.Subwaytreesystems树的同构,哈希[crayon-68e9115076f9e947725293/]poj2419.Forests暴力即可[crayon-68e9115076fa4900673467/]poj1717.Dominoesdp水题[crayon-68e9115076faa684972249/]poj2949.WordRings建图+分数规划[crayon-68e9115076fb0136023126/] ...
DescriptionBessiehastwocrispredapplestodelivertotwoofherfriendsintheherd.Ofcourse,shetravelstheC(1<=C<=200,000)cowpathswhicharearrangedastheusualgraphwhichconnectsP(1<=P<=100,000)pasturesconvenientlynumberedfrom1..P:nocowpathleadsfromapasturetoitself,cowpathsarebidirectional,eachcowpathhasanassociateddistance,and,bestofall,itisalwayspossibletogetfromanypasturetoanyotherpasture....
近期评论