Skip to content

Commit dc71748

Browse files
committed
Update
1 parent 7476c8c commit dc71748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/math/CRT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pll extendedEuclid(ll a, ll b){ // a * x + b * y = __gcd(a,b)
77
if(a*x+b*y==-__gcd(a,b)) x=-x, y=-y;
88
return {x,y};
99
}
10-
pair<pll,pll> diophantine(ll a,ll b, ll r) {
10+
pair<pll,pll> diophantine(ll a, ll b, ll r) {
1111
//a*x+b*y=r where r is multiple of __gcd(a,b);
1212
ll d=__gcd(a,b);
1313
a/=d; b/=d; r/=d;

0 commit comments

Comments
 (0)