Problem prime
User chiefoggy
Submission Time 2023-05-12 22:55:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘bool isPrime(int)’:
prime.cpp:11:29: error: invalid type argument of unary ‘*’ (have ‘double’)
11 | for (int i = 2; (i < n**0.5); i++)
| ^~~