首页 > TAG信息列表 > consisting

AtCoder Regular Contest 148 B - dp

题面 For a string \(T\) of length \(L\) consisting of d and p, let \(f(T)\) be \(T\) rotated \(180\) degrees. More formally, let \(f(T)\) be the string that satisfies the following conditions. \(f(T)\) is a string of length \(L\) consisting