mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Resolve line length errors in math/mod_inverse_by_fermat_theorem.cpp
This commit is contained in:
parent
563e29acae
commit
c9fc01af7a
@ -73,7 +73,7 @@ int main() {
|
||||
std::cout << "The modular inverse of a with mod m is (a^(m-2)) : ";
|
||||
std::cout << binExpo(a, m-2, m) << std::endl;
|
||||
} else {
|
||||
std::cout << "m must be a prime number to apply Fermat's Little Theorem.";
|
||||
std::cout << "m must be a prime number.";
|
||||
std::cout << std::endl;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user