Problem nprime
User NoynYT
Submission Time 2024-02-29 08:31:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int main()’:
nprime.cpp:18:32: error: expected ‘;’ before ‘}’ token
18 | i+=1; if (prime(i)==1){num+=1}
| ^
| ;