MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / gcdeuclid

Function gcdeuclid

CPP/questions/gcd_hcf.cpp:8–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#define mod 1000000007
7#define endl '\n'
8int gcdeuclid(int a,int b)
9{
10 if(b==0)
11 return a;
12 return gcdeuclid(b,a%b);
13}
14
15int main(){
16 cin.tie(0)->sync_with_stdio(0);

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected