摘要: "BUPT2017 wintertraining(15) 8F" 题意 1到n的排列,经过几次置换(也是一个排列)回到原来的排列,就是循环了。 现在给n( define N 1001 typedef long long ll; ll dp[N]; bool com[N]; int cnt; int 阅读全文
posted @ 2017-07-11 23:47 水郁 阅读(217) 评论(0) 推荐(0) 编辑
……