Problem gcd
User TheCoconutMan
Submission Time 2024-05-18 12:44:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:9:2: error: ‘x’ was not declared in this scope
9 | x = min(a, b);
| ^
gcd.cpp:10:2: error: ‘y’ was not declared in this scope
10 | y = max(a, b) % x;
| ^
gcd.cpp:11:2: error: ‘gcd’ was not declared in this scope
11 | gcd = min(x, y);
| ^~~