【DP】 codeforces 453B Little Pony and Harmony Chest
状压DP。。。附上CF的官方题解。。。Briefdescription:Youaregivensequence ai,findapairwisecoprimesequence bi whichminimizes Analysis:Since{1,1 ...,1}isapairwisecoprimesequence,themaximumelementof bi cannevergreaterthen