Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BowenFu/matchit.cpp
/ main
Function
main
sample/gcd.cpp:17–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
static_assert(gcd(12, 6) == 6);
16
17
int32_t main()
18
{
19
std::cout << gcd(12, -15) << std::endl;
20
return 0;
21
}
Callers
nothing calls this directly
Calls
1
gcd
Function · 0.85
Tested by
no test coverage detected