Problem | gcd |
---|---|
User | SharpnessChipped |
Submission Time | 2023-06-05 23:18:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
gcd.cpp: In function ‘int main()’:
gcd.cpp:7:24: error: lvalue required as unary ‘&’ operand
7 | while (a != 0)&(b != 0) {
| ^
gcd.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
gcd.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^