题目: https://codeforces.com/contest/888/problem/D 错排博客园链接: https://www.cnblogs.com/baijian0212/p/cuopaiwenti.html