Problem nprime
User SuspiciousAmogus
Submission Time 2024-05-25 11:07:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int main()’:
nprime.cpp:10:24: error: ‘sqrt’ was not declared in this scope
10 | for (int j = 2; j <= sqrt(curr); j++) {
| ^~~~