Problem nprime
User IyasM
Submission Time 2025-12-26 16:14:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int32_t getPrime(long long int)’:
nprime.cpp:18:9: error: ‘cnt’ was not declared in this scope; did you mean ‘int’?
18 | while (cnt < n) {
| ^~~
| int