Problem gcd
User bluesky2113
Submission Time 2024-08-03 10:18:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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