Problem gcd
User Allysa
Submission Time 2024-03-09 13:25:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int gdc(int, int)’:
gcd.cpp:9:6: error: assignment of function ‘int gdc(int, int)’
9 | gdc= gdc(b,a%b);
| ~~~^~~~~~~~~~~~
gcd.cpp: At global scope:
gcd.cpp:17:1: error: expected declaration before ‘}’ token
17 | }
| ^