Problem gcd
User yongteckrice
Submission Time 2023-01-28 18:43:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:14:2: error: a function-definition is not allowed here before ‘{’ token
14 | {
| ^
gcd.cpp:25:10: error: ‘gcd’ was not declared in this scope
25 | cout << gcd(a,b);
| ^~~