Problem gcd
User StarSparrowFox
Submission Time 2024-02-18 15:32:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:9:12: error: expected ‘)’ before ‘;’ token
9 | sort(A + 1; A + 2; greater<int>());
| ~ ^
| )
gcd.cpp:9:35: error: expected ‘;’ before ‘)’ token
9 | sort(A + 1; A + 2; greater<int>());
| ^
| ;
gcd.cpp:10:24: error: expected ‘)’ before ‘;’ token
10 | cout << gcd(A[1], A[2];
| ~ ^
| )