mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-09 15:43:48 +08:00
Update modular_exponentiation.cpp
This commit is contained in:
committed by
GitHub
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
|
||||
|
||||
Reference in New Issue
Block a user