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

Compile Error

gcd.cpp: In function ‘int gdc(int, int)’:
gcd.cpp:6:6: error: assignment of function ‘int gdc(int, int)’
6 | gdc=a;
| ~~~^~
gcd.cpp:9:6: error: assignment of function ‘int gdc(int, int)’
9 | gdc=gdc(b,a%b);
| ~~~^~~~~~~~~~~
gcd.cpp:12:11: error: a function-definition is not allowed here before ‘{’ token
12 | int main(){
| ^