Problem | gcd |
---|---|
User | Aarush1000 |
Submission Time | 2023-04-05 16:00:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘int main()’:
gcd.cpp:10:34: error: ‘a’ was not declared in this scope
10 | cout << "gcd(a, b) = " << __gcd(a, b) << endl; // gcd(6,20) for C++17
| ^
gcd.cpp:10:37: error: ‘b’ was not declared in this scope
10 | cout << "gcd(a, b) = " << __gcd(a, b) << endl; // gcd(6,20) for C++17
| ^
gcd.cpp:10:47: error: expected ‘}’ at end of input
10 | cout << "gcd(a, b) = " << __gcd(a, b) << endl; // gcd(6,20) for C++17
| ^
gcd.cpp:9:1: note: to match this ‘{’
9 | {
| ^
gcd.cpp:10:47: error: expected ‘}’ at end of input
10 | cout << "gcd(a, b) = " << __gcd(a, b) << endl; // gcd(6,20) for C++17
| ^
gcd.cpp:4:12: note: to match this ‘{’
4 | int ma