Problem gcd
User blob
Submission Time 2023-11-15 10:19:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:4:24: error: a function-definition is not allowed here before ‘{’ token
4 | int gcd(int a, int b) {
| ^
gcd.cpp:18:1: error: expected ‘}’ at end of input
18 | }
| ^
gcd.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^