0_0_38425965_14067.cpp: In function 'll gcd(ll, ll)':
0_0_38425965_14067.cpp:28:4: error: redefinition of 'll gcd(ll, ll)'
ll gcd(ll a,ll b){return b==0?a:gcd(b,a%b);}
^
0_0_38425965_14067.cpp:11:5: note: 'int gcd(int, int)' previously defined here
int gcd(int a,int b){return b==0?a:gcd(b,a%b);}
^
0_0_38425965_14067.cpp: In function 'll lcm(ll, ll)':
0_0_38425965_14067.cpp:29:4: error: redefinition of 'll lcm(ll, ll)'
ll lcm(ll a,ll b){return a/gcd(a,b)*b;}
^
0_0_38425965_14067.cpp:12:5: note: 'int lcm(int, int)' previously defined here
int lcm(int a,int b) {return a*b/gcd(a,b);}
^
|