Problem prime
User Andrew
Submission Time 2024-08-02 19:28:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

prime.cpp: In function ‘int main()’:
prime.cpp:7:19: error: ‘math’ was not declared in this scope
7 | for (int i=2; i<=math.sqrt(n); i++) {
| ^~~~