Problem gcd
User meow5707
Submission Time 2023-02-08 17:05:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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