Problem | nprime |
---|---|
User | blob |
Submission Time | 2023-12-08 18:22:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nprime.cpp: In function ‘bool isPrime(int)’:
nprime.cpp:4:6: error: ‘x’ was not declared in this scope
4 | if (x<=1) return false;
| ^
nprime.cpp:5:25: error: ‘x’ was not declared in this scope
5 | for (int i = 2; i*i <= x; i++)
| ^
nprime.cpp: In function ‘int main()’:
nprime.cpp:11:2: error: ‘cim’ was not declared in this scope; did you mean ‘ctime’?
11 | cim >> n;
| ^~~
| ctime