Problem gcd
User godex
Submission Time 2025-02-17 14:10:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int32_t main()’:
gcd.cpp:8:7: error: ‘small’ was not declared in this scope
8 | x = small;
| ^~~~~
gcd.cpp:11:7: error: ‘small’ was not declared in this scope
11 | y = small;
| ^~~~~
gcd.cpp:13:23: error: ‘small’ was not declared in this scope
13 | for (int i = 1; i <= small; i++) {
| ^~~~~
gcd.cpp:15:13: error: ‘hcf’ was not declared in this scope
15 | hcf = i;
| ^~~