Problem prime
User huyleisme
Submission Time 2024-01-25 17:17:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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