Problem prime
User mingging1748
Submission Time 2024-04-13 09:20:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:9:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
9 | if (is_prime == true) {
| ^~~~