MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / gcd

Function gcd

code/mathematics/gcd.cpp:1–1  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1ll gcd(ll a, ll b) { return b == 0 ? a : gcd(b, a % b); }
2// vim: cc=60 ts=2 sts=2 sw=2:

Callers 4

testFunction · 0.70
testFunction · 0.70
gcdMethod · 0.70
fractionMethod · 0.70

Calls

no outgoing calls

Tested by 2

testFunction · 0.56
testFunction · 0.56