2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)C++3,724 forks (3,724 forks)batch import
Hacktoberfestadd codenew algorithm
Repository metrics
- Stars
- 13,462 stars (13,462 stars)
- PR merge metrics
- No merged PRs in 30d (No merged PRs in 30d)
Description
m=100000007, m can be set to any prime
Contributor guide
- Research direction
- Understand the concept of modular inverse using Fermat's little theorem, precompute factorials and inverse factorials up to N, then implement NcR = fact[N] * invfact[R] * invfact[N R] % m.
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Prerequisites
- GitC++