Problem lcm
User boomphcoding
Submission Time 2024-12-09 20:33:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcm.cpp:4:16: error: ‘b’ has not been declared
4 | int gcd(int a, b){
| ^
lcm.cpp: In function ‘int gcd(int, int)’:
lcm.cpp:5:5: error: ‘b’ was not declared in this scope
5 | if(b==0){
| ^
lcm.cpp:8:13: error: ‘b’ was not declared in this scope
8 | return gcd(b, a%b);
| ^