### 标签：数论

3 篇文章

http://codeforces.com/problemset/problem/711/E 这个题目的关键在于，取余的数字只有$$10^6+3$$ 然后这个概率其实非常简单，就是$1-\frac{\prod_{i=0}^{k-1}(2^n-i)}{\prod_{i=0}^{k-1}2^n}$ 我们只需要求\[\frac{\prod_{i=0}…
Long long ago, there was a beautiful boy, he was so lonely in the summer night. At his most lonely moment, he decided to invite his boyfriends to his bedroom, and they will be…