Problem prime
User Enderpotato
Submission Time 2024-01-24 11:30:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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