Problem | prime |
---|---|
User | Aum |
Submission Time | 2024-03-26 17:46:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
prime.cpp: In function ‘int32_t main()’:
prime.cpp:7:6: error: ‘n’ was not declared in this scope
7 | if (n < 2) cout << "Not Prime";
| ^
prime.cpp:8:28: error: ‘n’ was not declared in this scope
8 | for (int i = 2; i*i <= n; i++) {
| ^