Problem prime
User IWKR
Submission Time 2023-07-10 15:26:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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