18多校组队训练
摘要:
G 容斥原理推公式或者打表oeis 公式推导:fn表示n个元素的排列方案 现在加入了元素n+1,即求fn+1的排列方案 设fn的一种合法排列是 1,,p2,p3,p4...pn,那么将n+1插到n-1个空隙中,其中有个空隙是不能插的,所以有n-2种插法 由于新加入了n+1,所以n个元素某些不合法的排 阅读全文
posted @ 2019-04-15 22:29 zsben 阅读(125) 评论(0) 推荐(0) 编辑
posted @ 2019-04-15 22:29 zsben 阅读(125) 评论(0) 推荐(0) 编辑
posted @ 2019-04-15 21:44 zsben 阅读(125) 评论(0) 推荐(0) 编辑
posted @ 2019-04-15 12:29 zsben 阅读(381) 评论(0) 推荐(0) 编辑