Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuprDewd/CompetitiveProgramming
/ gcd
Function
gcd
code/mathematics/intx.test.cpp:27–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
}
26
27
intx gcd(intx a, intx b) {
28
return eq(b, intx(0)) ? a : gcd(b, a % b);
29
}
30
31
// void multiplication_speed() {
32
// // int len = 100,
Callers
1
test
Function · 0.70
Calls
2
intx
Class · 0.85
eq
Function · 0.70
Tested by
no test coverage detected