DistinctAdjacent

DistinctAdjacent

# [[ABC307E] Distinct Adjacent](https://www.luogu.com.cn/problem/AT_abc307_e) 我们将圆环上有 $i$ 个人的情况的答案记为 $f(i)$。考虑有 $i+1$ 个人排成一排的情况,此时答案为 $M \times (M-1)^ ......
DistinctAdjacent
共1篇  :1/1页 首页上一页1下一页尾页