摘要:
[BZOJ 2839] 集合计数 阅读全文
![[BZOJ 2839] 集合计数](https://img2023.cnblogs.com/blog/3047794/202307/3047794-20230723193144394-1572814437.png)
摘要:
Luogu P6191 [USACO09FEB]Bulls And Cows S (牡牛和牝牛) 阅读全文
![Luogu P6191 [USACO09FEB]Bulls And Cows S (牡牛和牝牛)](https://img2023.cnblogs.com/blog/3047794/202307/3047794-20230723193212294-1688522339.png)
摘要:
# [ZJOI2010]排列计数 ## 题目描述 称一个 $1 \sim n$ 的排列 $p_1,p_2, \dots ,p_n$ 是 Magic 的,当且仅当 $$\forall i \in [2,n],p_i > p_{\lfloor i/2 \rfloor}$$ 计算 $1 \sim n$ 的 阅读全文
![Luogu P2606 [ZJOI2010]排列计数](https://img2023.cnblogs.com/blog/3047794/202307/3047794-20230723193258189-1625656974.png)