Problem gcd
User Dannyboy
Submission Time 2023-11-08 12:46:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:7:16: error: expected ‘)’ before ‘mod’
7 | int c=gcd(b,a mod b);
| ~ ^~~~
| )
gcd.cpp:10:16: error: expected ‘)’ before ‘mod’
10 | int c=gcd(a,b mod a);
| ~ ^~~~
| )