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

Compile Error

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