Problem prime
User StormyGood
Submission Time 2024-01-25 17:08:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:10:8: error: expected unqualified-id before ‘=’ token
10 | bool = false;
| ^
prime.cpp:12:22: error: ‘sqrt’ was not declared in this scope
12 | for (int i = 3; i < sqrt(a); i+=2)
| ^~~~