Problem gcd
User SirCTan
Submission Time 2025-01-09 20:15:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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