Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
ll 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
test
Function · 0.70
test
Function · 0.70
gcd
Method · 0.70
fraction
Method · 0.70
Calls
no outgoing calls
Tested by
2
test
Function · 0.56
test
Function · 0.56