Hello Codeforces!
Today I'll write down what I learn about combinatorics, and I think it common in Codeforces contests and competitive programming.
However, combinatorics is a great subject, and I cannot write it all in one blog. So, this is just the first blog, it's for beginners. If you are interested, please, pay attention to this account and it'll give posts like this for a long term.
If there is something wrong in the text, or if you have some problems about the topic, just give a comment, I'll check it weekly and reply. Also, if you find some grammar mistakes, welcome too.
Content
- Quick power
- Fermat's little theorem
- extent-gcd
- The multiplicative inverse of an integer
- Prework optimize
- homework