Advertisement
fooker

gcd function (euclid's algorithm)

Nov 19th, 2022
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.08 KB | None | 0 0
  1. #define ll long long
  2. ll gcd_ll(ll a, ll b){
  3.     return (b==0)? a: gcd_ll(b,a%b);
  4. }
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement