Problem gcd
User ndgsghdj
Submission Time 2025-04-16 08:59:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int gcd(int, int)’:
gcd.cpp:12:1: error: a function-definition is not allowed here before ‘{’ token
12 | {
| ^
gcd.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
gcd.cpp:6:1: note: to match this ‘{’
6 | {
| ^