Problem prime
User Thomas
Submission Time 2023-07-15 16:14:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘void is_prime(int)’:
prime.cpp:10:20: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
10 | return false;
| ^~~~~