Problem gcd
User SuspiciousAmogus
Submission Time 2023-01-06 21:27:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:47:26: error: a function-definition is not allowed here before ‘{’ token
47 | long GCD(long a, long b) {
| ^
gcd.cpp:75:1: error: a function-definition is not allowed here before ‘{’ token
75 | {
| ^
gcd.cpp:97:15: error: ‘d’ was not declared in this scope
97 | hcf = GCD(b, d);
| ^