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