Problem prime
User joshua2152
Submission Time 2023-05-05 08:45:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:7:24: error: invalid type argument of unary ‘*’ (have ‘double’)
7 | long long sqrn = n ** 0.5;
| ^~~
prime.cpp:14:6: error: ‘c’ was not declared in this scope
14 | if (c == 0) cout << "Not Prime";
| ^