Problem | gcd |
---|---|
User | Dannyboy |
Submission Time | 2023-11-08 12:59:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘int main()’:
gcd.cpp:7:18: error: expected ‘)’ before ‘mod’
7 | __gcd(a,b)=(a,a mod b)__;
| ~ ^~~~
| )
gcd.cpp:7:25: error: lvalue required as left operand of assignment
7 | __gcd(a,b)=(a,a mod b)__;
| ^~
gcd.cpp:10:18: error: expected ‘)’ before ‘mod’
10 | __gcd(b,a)=(b,b mod a)__;
| ~ ^~~~
| )
gcd.cpp:10:25: error: lvalue required as left operand of assignment
10 | __gcd(b,a)=(b,b mod a)__;
| ^~