Problem gcd
User wtnetlegend
Submission Time 2025-01-28 00:52:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:22:11: error: ‘a’ was not declared in this scope
22 | cin >> a >> b
| ^
gcd.cpp:22:16: error: ‘b’ was not declared in this scope
22 | cin >> a >> b
| ^
gcd.cpp:23:20: error: expected ‘}’ at end of input
23 | cout << gcd(a, b);
| ^
gcd.cpp:21:10: note: to match this ‘{’
21 | main() {
| ^