Problem gcd
User earthyeet
Submission Time 2025-08-29 10:42:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:16:14: error: ‘b’ was not declared in this scope
16 | float f = (b / count);
| ^
gcd.cpp:17:14: error: ‘a’ was not declared in this scope
17 | float g = (a / f);
| ^
gcd.cpp:19:13: error: expected ‘;’ before ‘check’
19 | cout << f
| ^
| ;
20 | check = true;
| ~~~~~