Skip to content

Commit

Permalink
Update ExtGCD.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tatyam-prime authored Sep 16, 2024
1 parent 5a213cf commit 1a90722
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/math/ExtGCD.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ documentation_of: //src/math/ExtGCD.hpp
---
- 参考実装:[KACTL](https://github.com/kth-competitive-programming/kactl/blob/main/content/number-theory/euclid.h)

割り算を使わない高速な GCD

## 使い方

- `ll extgcd(ll a, ll b, ll& x, ll& y)`:$\text{gcd}(a, b)$ を返す.$(x, y)$ には,$ax + by = \text{gcd}(a, b)$ の整数解であって $\|x\| + \|y\|$ が最小のものが代入される.
Expand Down

0 comments on commit 1a90722

Please sign in to comment.