mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update modular_exponentiation.cpp
This commit is contained in:
parent
365e9a823a
commit
1a405145f4
@ -30,7 +30,6 @@ namespace math {
|
||||
* @param c integer modulo
|
||||
* @return a raised to power b modulo c
|
||||
*/
|
||||
|
||||
uint64_t power(uint64_t a, uint64_t b, uint64_t c)
|
||||
{
|
||||
uint64_t ans = 1; /// Initialize the answer to be returned
|
||||
|
Loading…
Reference in New Issue
Block a user