错排公式

D[i]=(i-1)*(D[i-1]+D[i-2])

posted @ 2019-11-01 20:07  ZMWLxh  阅读(140)  评论(0编辑  收藏  举报