Problem gcd
User SuspiciousAmogus
Submission Time 2023-01-06 21:28:20
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:96:15: error: ‘d’ was not declared in this scope
96 | hcf = GCD(b, d);
| ^