ABC309G Ban Permutation

发布时间 2023-07-12 14:56:07作者: UperFicial

Problem

求有多少个 \(1\)\(n\) 的排列 \(P\),满足对于任意 \(i\) 都有 \(|i-p_i|\ge X\)
\(1\le n\le 100\)\(1\le X\le 5\)