
1379.RunAway模拟退火裸题[crayon-6a15f0ee537b8095189343/]2758.CheckingtheText暴力+哈希[crayon-6a15f0ee537c2803212260/]poj3156.Interconnect由于状态是满足拓扑序的,所以直接dp上,再用个hash记忆化[crayon-6a15f0ee537c8332146833/]1837.Balancef(i,j)前i个力矩为j的方案,dp[crayon-6a15f0ee537ce943968612/]3609.ResetSequence状压+bfs初始集合是0-n-1每个指令会使得集合中的一些元素消失,目标状态是只有一个0[c...

A.AmrandMusic排序贪心[crayon-6a15f0ee53d6b455505905/]B.AmrandPins算出距离除以直径[crayon-6a15f0ee53d74729180699/]C.GuessYourWayOut!按位考虑[crayon-6a15f0ee53d78305342008/]D.TheMathsLecture从后往前dpf(i,j,k)表示后i位,当前模为j,是否有后缀被K整除[crayon-6a15f0ee53d7c168499588/]E.BreakingGood广搜,选可用边最多的路径[crayon-6a15f0ee53d82963465444/] ...

DescriptionYoungBytenssonlovestohangoutintheporttavern,whereheoftenlistenstotheseadogstellingtheirtalesofseafaring.Initially,hebelievedthemall,howeverincredibletheysounded.Overtimethough,hebecamesuspicious.Hehasdecidedtowriteaprogramthatwillverifyiftheremaybeanygrainoftruthinthosetallstories.Bytenssonreasonedthatwhilehecannottellifthesailorsindeedweatheredallthosestorms,hecanatleastfindouti...
近期评论