Problem nprime
User Devthethala
Submission Time 2026-06-24 15:10:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int main()’:
nprime.cpp:9:26: error: ‘sqrt’ was not declared in this scope
9 | for (int i = 0; i <= sqrt(n); i++){
| ^~~~