MCPcopy 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
27intx 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

testFunction · 0.70

Calls 2

intxClass · 0.85
eqFunction · 0.70

Tested by

no test coverage detected