Problem gcd
User earthyeet
Submission Time 2025-08-29 10:51:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

gcd.cpp: In function ‘int main()’:
gcd.cpp:13:28: error: lvalue required as left operand of assignment
13 | if (a % i = 0 && b % i = 0) {
| ^
gcd.cpp:14:13: error: expected ‘;’ before ‘break’
14 | cout << i
| ^
| ;
15 | break
| ~~~~~