Problem gcd
User Cat
Submission Time 2025-02-17 16:24:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:5:19: error: ‘gcd’ was not declared in this scope
5 | cin >> a >> b >> gcd;
| ^~~
gcd.cpp:6:10: error: ‘__gcd’ was not declared in this scope; did you mean ‘__gid_t’?
6 | cout << __gcd(a, b);
| ^~~~~
| __gid_t