Problem nprime
User j0ashhh
Submission Time 2025-11-11 14:41:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int main()’:
nprime.cpp:4:2: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
4 | n = 40000
| ^
| yn
nprime.cpp:7:6: error: ‘prime’ was not declared in this scope
7 | if(prime[i]){
| ^~~~~
nprime.cpp:15:6: error: ‘prime’ was not declared in this scope
15 | if(prime[i]){
| ^~~~~