Problem prime
User Bryan
Submission Time 2023-10-09 14:55:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘bool check_prime(int)’:
prime.cpp:13:17: error: lvalue required as left operand of assignment
13 | if ((num % 2 = 0) and (num != 2)){
| ^