mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-06-16 07:09:35 +08:00
fix : according lint rules
This commit is contained in:
@@ -27,7 +27,8 @@ using namespace std;
|
||||
* @returns the modular inverse
|
||||
*/
|
||||
int imod(int x, int y) {
|
||||
int aux, itr = 0;
|
||||
int aux;
|
||||
int itr = 0;
|
||||
|
||||
do { // run the algorithm while not find the inverse
|
||||
aux = y * itr + 1;
|
||||
|
||||
Reference in New Issue
Block a user