Skip to content

Commit

Permalink
Update Extended Euclidean Algorithm (Extensive).cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashishgup1 authored May 26, 2020
1 parent c292bac commit f493d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Extended Euclidean Algorithm (Extensive).cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int modular_inverse(int a, int m)
void shift_solution(int &x, int &y, int a, int b, int cnt)
{
x += cnt * b;
y -= cnt * b;
y -= cnt * a;
}

bool find_any_solution(int a, int b, int c, int &x0, int &y0, int &g)
Expand Down

0 comments on commit f493d32

Please sign in to comment.