mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-10 05:57:14 +08:00
clang-format and clang-tidy fixes for 5b69ba5c
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
/**
|
||||
* @file
|
||||
* @brief This program aims at calculating [nCr modulo p](https://cp-algorithms.com/combinatorics/binomial-coefficients.html).
|
||||
* @brief This program aims at calculating [nCr modulo
|
||||
* p](https://cp-algorithms.com/combinatorics/binomial-coefficients.html).
|
||||
* @details nCr is defined as n! / (r! * (n-r)!) where n! represents factorial
|
||||
* of n. In many cases, the value of nCr is too large to fit in a 64 bit
|
||||
* integer. Hence, in competitive programming, there are many problems or
|
||||
@@ -19,7 +20,9 @@
|
||||
namespace math {
|
||||
/**
|
||||
* @namespace ncr_modulo_p
|
||||
* @brief Functions for [nCr modulo p](https://cp-algorithms.com/combinatorics/binomial-coefficients.html) implementation.
|
||||
* @brief Functions for [nCr modulo
|
||||
* p](https://cp-algorithms.com/combinatorics/binomial-coefficients.html)
|
||||
* implementation.
|
||||
*/
|
||||
namespace ncr_modulo_p {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user