From 9872a08f277f4432a9e2665cacafd26822d24c2c Mon Sep 17 00:00:00 2001 From: Mann Mehta <44433995+mann2108@users.noreply.github.com> Date: Sat, 9 May 2020 00:26:15 +0530 Subject: [PATCH] Remove extra blank lines in math/mod_inverse_by_fermat_theorem.cpp --- math/mod_inverse_by_fermat_theorem.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/math/mod_inverse_by_fermat_theorem.cpp b/math/mod_inverse_by_fermat_theorem.cpp index 73dd6e656..911613353 100644 --- a/math/mod_inverse_by_fermat_theorem.cpp +++ b/math/mod_inverse_by_fermat_theorem.cpp @@ -45,16 +45,13 @@ int64_t binExpo(int64_t a, int64_t b) { } int main() { - int64_t a; /* Take input of a. (A number for which we want to find modular inverse with m) */ - std::cout << "Give input a for computing ((a^(-1))%(m)) : "; std::cin >> a; - std::cout << "The modular inverse of a with mod m is (a^(m-2)) : "; std::cout << binExpo(a, m-2) << std::endl; }