Problem lcm
User penguinzzz
Submission Time 2024-02-07 21:34:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp: In function ‘long long int lcm(long long int, long long int)’:
lcm.cpp:6:17: error: ‘gcd’ was not declared in this scope
6 | return (a / gcd(a, b)) * b;
| ^~~