Update modular_exponentiation.cpp

This commit is contained in:
Shri Prakash Bajpai 2020-10-22 03:03:00 +05:30 committed by GitHub
parent 365e9a823a
commit 1a405145f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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