Problem gcd
User christal
Submission Time 2023-12-25 01:41:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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