Problem | nprime |
---|---|
User | PlayVoltz |
Submission Time | 2023-05-06 11:09:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nprime.cpp: In function ‘bool isPrime(int)’:
nprime.cpp:6:14: error: ‘n’ was not declared in this scope
6 | while (i*i<=n){
| ^
nprime.cpp: In function ‘int main()’:
nprime.cpp:21:4: error: ‘pnum’ was not declared in this scope; did you mean ‘enum’?
21 | pnum++;
| ^~~~
| enum