Problem gcd
User Aarush1000
Submission Time 2023-04-05 16:33:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:10:11: error: expected primary-expression before ‘<<’ token
10 | cout << << __gcd(a, b) << endl;
| ^~
gcd.cpp:10:20: error: ‘a’ was not declared in this scope
10 | cout << << __gcd(a, b) << endl;
| ^
gcd.cpp:10:23: error: ‘b’ was not declared in this scope
10 | cout << << __gcd(a, b) << endl;
| ^
gcd.cpp:10:33: error: expected ‘}’ at end of input
10 | cout << << __gcd(a, b) << endl;
| ^
gcd.cpp:9:1: note: to match this ‘{’
9 | {
| ^
gcd.cpp:10:33: error: expected ‘}’ at end of input
10 | cout << << __gcd(a, b) << endl;
| ^
gcd.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^