
poj2245.Lotto裸搜索[crayon-692a3f0937f06542717978/]poj2601.Simplecalculations推公式麻烦。。直接二分[crayon-692a3f0937f0f262042159/]poj1635.Subwaytreesystems树的同构,哈希[crayon-692a3f0937f14644505645/]poj2419.Forests暴力即可[crayon-692a3f0937f19041219122/]poj1717.Dominoesdp水题[crayon-692a3f0937f1f228957344/]poj2949.WordRings建图+分数规划[crayon-692a3f0937f25872963085/] ...
![「BZOJ2100」[Usaco2010 Dec] Apple Delivery](http://www.lydsy.com/JudgeOnline/images/2100.jpg)
DescriptionBessiehastwocrispredapplestodelivertotwoofherfriendsintheherd.Ofcourse,shetravelstheC(1<=C<=200,000)cowpathswhicharearrangedastheusualgraphwhichconnectsP(1<=P<=100,000)pasturesconvenientlynumberedfrom1..P:nocowpathleadsfromapasturetoitself,cowpathsarebidirectional,eachcowpathhasanassociateddistance,and,bestofall,itisalwayspossibletogetfromanypasturetoanyotherpasture....
近期评论